Download XML Editor User Manual
Transcript
oXygen XML Editor Developer Guide
CustomRule.java
package simple.documentation.framework;
import org.xml.sax.Attributes;
import ro.sync.ecss.extensions.api.DocumentTypeCustomRuleMatcher;
public class CustomRule implements
DocumentTypeCustomRuleMatcher {
/**
* Checks if the root namespace is the one
* of our documentation framework.
*/
public boolean matches(
String systemID,
String rootNamespace,
String rootLocalName,
String doctypePublicID,
Attributes rootAttributes) {
return "http://www.oxygenxml.com/sample/documentation"
.equals(rootNamespace);
}
public String getDescription() {
return "Checks if the current Document Type "+
"Association is matching the document.";
}
}
252
Related documents
XML Author 10.3 User Manual
XML Editor 10.3 User Manual
XML Editor 10.3 User Manual for Eclipse
Performing a Query Session
XML Author 10.3 User Manual for Eclipse
User Manual
XML Author 11.2 User Manual
Oxygen XML Author 12.2
XML Author 11.2 User Manual for Eclipse
XML Editor 11.2 User Manual
Oxygen XML Developer Eclipse Plugin 16.1
XML Editor 11.2 User Manual for Eclipse