org.activemath.omdocjdom.index.analysis
Class ContentExtractor
java.lang.Object
org.activemath.omdocjdom.index.analysis.ContentExtractor
public abstract class ContentExtractor
- extends Object
Simple abstraction of MBaseRef
for the purpose of index-extraction which also
works on a MBaseRef being-built (important
for speed).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentExtractor
protected ContentExtractor()
makeMBaseRefExtractor
public static ContentExtractor makeMBaseRefExtractor(MBaseRef ref)
makeMapExtractor
public static ContentExtractor makeMapExtractor(Map map)
makeCombinedExtractor
public static ContentExtractor makeCombinedExtractor(ContentExtractor a,
ContentExtractor b)
getCMPs
public abstract List getCMPs(MBaseID id)
throws MBaseException
- Throws:
MBaseException
getMetadata
public abstract OJElement getMetadata(MBaseID id)
throws MBaseException
- Throws:
MBaseException
getFullItem
public abstract OJElement getFullItem(MBaseID id)
throws MBaseException
- Throws:
MBaseException
getCommonName
public abstract Map getCommonName(MBaseID id)
throws MBaseException
- Throws:
MBaseException
getAttribute
public abstract String getAttribute(MBaseID id,
String name)
throws MBaseException
- Throws:
MBaseException
getTypeString
public abstract String getTypeString(MBaseID id)
throws MBaseException
- Throws:
MBaseException