Package org.iirds.dita.ot.plugin.module
Class SubjectExtractor
java.lang.Object
org.iirds.dita.ot.plugin.module.SubjectExtractor
Extracts subject definitions from a map.
- Author:
- Martin Kreutzer, Empolis Information Management GmbH
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleTopicref(Element topicref, Optional<SubjectDef> parentSubject, Optional<RelationType> parentRelation) protected static booleanisRelationElement(Element elem) protected static booleanvoidprocessMap(Document doc) Extracts subject definitions from a mapprotected static Optional<SubjectDef>subjectdefFromElement(Element element)
-
Field Details
-
logger
static org.slf4j.Logger logger
-
-
Constructor Details
-
SubjectExtractor
public SubjectExtractor()
-
-
Method Details
-
isRelationElement
-
isSubjectSchemeRelated
-
processMap
Extracts subject definitions from a map- Parameters:
doc- the DOM of the map
-
handleTopicref
protected void handleTopicref(Element topicref, Optional<SubjectDef> parentSubject, Optional<RelationType> parentRelation) -
subjectdefFromElement
-