org.activemath.omdocjdom.slumb
Class Inheritor
java.lang.Object
org.activemath.omdocjdom.slumb.Inheritor
public class Inheritor
- extends Object
A class that is responsible to operate the inheritance procedure
which allows included items to obtain new children and attributes based
on the parents. A typical use-case is that of inheriting the authorship
or source informations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Inheritor
public Inheritor(File collDir)
Inheritor
public Inheritor(IndexedCollectionStatus coll)
setReparser
public void setReparser(Inheritor.Reparser reparser)
operateInheritance
public void operateInheritance(OJItem item)
- injects inside the metadata and extradata children, the inherited fields.
- Parameters:
item - the element whose metadata will be populated, from any parent,
expressly inherited and manifest