@API(type=INTERNAL, src=PUBLIC) public class DITAMapResolvedReferencesCustomRuleMatcher extends DocumentTypeAdvancedCustomRuleMatcher
Constructor and Description |
---|
DITAMapResolvedReferencesCustomRuleMatcher() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
boolean |
matches(java.lang.String systemID,
java.lang.String rootNamespace,
java.lang.String rootLocalName,
java.lang.String doctypePublicID,
java.lang.String doctypeSystemID,
org.xml.sax.Attributes rootAttributes,
java.util.Map<java.lang.String,java.lang.String> queryParameters,
java.io.Reader contentReader)
Experimental API, subject to change.
|
matches, matches
public DITAMapResolvedReferencesCustomRuleMatcher()
public boolean matches(java.lang.String systemID, java.lang.String rootNamespace, java.lang.String rootLocalName, java.lang.String doctypePublicID, java.lang.String doctypeSystemID, org.xml.sax.Attributes rootAttributes, java.util.Map<java.lang.String,java.lang.String> queryParameters, java.io.Reader contentReader)
DocumentTypeAdvancedCustomRuleMatcher
matches
in class DocumentTypeAdvancedCustomRuleMatcher
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.doctypeSystemID
- The system 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.queryParameters
- The parameters which were set in the query string used to open this resource. May be null
.contentReader
- Reader over the entire XML content. Can be used for detection
if all other parameters are not enough. The reader does not need to be reset or closed.true
if the document type to which this rule belongs to
will be used for the current file.DocumentTypeAdvancedCustomRuleMatcher.matches(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes, java.util.Map, java.io.Reader)
public java.lang.String getDescription()
Extension.getDescription()
© Copyright Syncro Soft SRL 2002 - 2020. All rights reserved.