// do not dispose of content
}
}else{
// create some important properties
IProperty partOf = target.getProperty(PART_OF);
if(partOf == null){
partOf = target.createProperty(PART_OF,IProperty.OBJECT);
partOf.setDomain(new IClass [] {target.getRoot()});
partOf.setRange(new IClass [] {target.getRoot()});
}
IProperty hasPart = target.getProperty(HAS_PART);
if(hasPart == null){
hasPart = target.createProperty(HAS_PART,IProperty.OBJECT);
hasPart.setDomain(new IClass [] {target.getRoot()});
hasPart.setRange(new IClass [] {target.getRoot()});
}
// make them inverses of eachother
hasPart.setInverseProperty(partOf);
partOf.setInverseProperty(hasPart);
// if we have last processed page
int lastPageCount = 0;