Class DITATopic2_xCustomRuleMatcher
java.lang.Object
ro.sync.ecss.extensions.dita.DITACustomRuleMatcher
ro.sync.ecss.extensions.dita.topic.DITATopicCustomRuleMatcher
ro.sync.ecss.extensions.dita.topic.DITATopic2_xCustomRuleMatcher
- All Implemented Interfaces:
DocumentTypeCustomRuleMatcher,Extension
@API(type=INTERNAL,
src=PUBLIC)
public class DITATopic2_xCustomRuleMatcher
extends DITATopicCustomRuleMatcher
Matches a specific DITA 2.x framework which provides support for the DITA 2.x standard.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ro.sync.ecss.extensions.dita.topic.DITATopicCustomRuleMatcher
getDescriptionMethods inherited from class ro.sync.ecss.extensions.dita.DITACustomRuleMatcher
getVersion
-
Constructor Details
-
DITATopic2_xCustomRuleMatcher
public DITATopic2_xCustomRuleMatcher()
-
-
Method Details
-
matches
public boolean matches(String systemID, String rootNamespace, String rootLocalName, String doctypePublicID, Attributes rootAttributes) Description copied from class:DITATopicCustomRuleMatcherTry to find aDITAArchVersionattribute in the root attributes.- Specified by:
matchesin interfaceDocumentTypeCustomRuleMatcher- Overrides:
matchesin classDITATopicCustomRuleMatcher- Parameters:
systemID- The system ID of the current file in an URL format with not allowed characters corrected. For example: "file:/C:/path/to/file/file.xml"rootNamespace- The namespace of the root.rootLocalName- The root local name.doctypePublicID- The public id of the specified DTD if any.rootAttributes- The root attributes. The attributes are DOM level 2 and the namespaces are available for each one.- Returns:
trueif the document type to which this rule belongs to will be used for the current file.- See Also:
-