ro.sync.ecss.extensions.dita.topic
Class DITATopicCustomRuleMatcher
java.lang.Object
ro.sync.ecss.extensions.dita.DITACustomRuleMatcher
ro.sync.ecss.extensions.dita.topic.DITATopicCustomRuleMatcher
- All Implemented Interfaces:
- DocumentTypeCustomRuleMatcher, Extension
public class DITATopicCustomRuleMatcher
- extends DITACustomRuleMatcher
DITA topic custom rule matcher.
Method Summary |
java.lang.String |
getDescription()
|
boolean |
matches(java.lang.String systemID,
java.lang.String rootNamespace,
java.lang.String rootLocalName,
java.lang.String doctypePublicID,
org.xml.sax.Attributes rootAttributes)
Try to find a DITAArchVersion attribute in the root attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DITATopicCustomRuleMatcher
public DITATopicCustomRuleMatcher()
matches
public boolean matches(java.lang.String systemID,
java.lang.String rootNamespace,
java.lang.String rootLocalName,
java.lang.String doctypePublicID,
org.xml.sax.Attributes rootAttributes)
- Try to find a
DITAArchVersion
attribute in the root attributes.
- Specified by:
matches
in interface DocumentTypeCustomRuleMatcher
- Overrides:
matches
in class DITACustomRuleMatcher
- 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:
true
if the document type to which this rule belongs to
will be used for the current file.- See Also:
DocumentTypeCustomRuleMatcher.matches(java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
getDescription
public java.lang.String getDescription()
- Returns:
- The description of the extension.
- See Also:
Extension.getDescription()
© Copyright SyncRO Soft SRL 2002 - 2010.