public class XMLModelHandler extends Object implements org.apache.xerces.xni.parser.XMLComponent, org.apache.xerces.xni.parser.XMLDocumentFilter
<?xml-model href="http://www.docbook.org/xml/5.0/xsd/docbook.xsd"?> <book xmlns="http://docbook.org/ns/docbook"> <title /> </book>
https://www.w3.org/TR/xml-model/
Constructor and Description |
---|
XMLModelHandler() |
Modifier and Type | Method and Description |
---|---|
void |
characters(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs) |
void |
comment(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs) |
void |
doctypeDecl(String rootElement,
String publicId,
String systemId,
org.apache.xerces.xni.Augmentations augs) |
void |
emptyElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs) |
void |
endCDATA(org.apache.xerces.xni.Augmentations augs) |
void |
endDocument(org.apache.xerces.xni.Augmentations augs) |
void |
endElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.Augmentations augs) |
void |
endGeneralEntity(String name,
org.apache.xerces.xni.Augmentations augs) |
org.apache.xerces.xni.XMLDocumentHandler |
getDocumentHandler() |
org.apache.xerces.xni.parser.XMLDocumentSource |
getDocumentSource() |
Boolean |
getFeatureDefault(String featureId) |
Object |
getPropertyDefault(String propertyId) |
String[] |
getRecognizedFeatures() |
String[] |
getRecognizedProperties() |
void |
ignorableWhitespace(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs) |
void |
processingInstruction(String target,
org.apache.xerces.xni.XMLString data,
org.apache.xerces.xni.Augmentations augs) |
void |
reset(org.apache.xerces.xni.parser.XMLComponentManager componentManager) |
void |
setDocumentHandler(org.apache.xerces.xni.XMLDocumentHandler handler) |
void |
setDocumentSource(org.apache.xerces.xni.parser.XMLDocumentSource source) |
void |
setFeature(String featureId,
boolean state) |
void |
setProperty(String propertyId,
Object value) |
void |
startCDATA(org.apache.xerces.xni.Augmentations augs) |
void |
startDocument(org.apache.xerces.xni.XMLLocator locator,
String encoding,
org.apache.xerces.xni.NamespaceContext namespaceContext,
org.apache.xerces.xni.Augmentations augs) |
void |
startElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs) |
void |
startGeneralEntity(String name,
org.apache.xerces.xni.XMLResourceIdentifier identifier,
String encoding,
org.apache.xerces.xni.Augmentations augs) |
void |
textDecl(String version,
String encoding,
org.apache.xerces.xni.Augmentations augs) |
void |
xmlDecl(String version,
String encoding,
String standalone,
org.apache.xerces.xni.Augmentations augs) |
public void reset(org.apache.xerces.xni.parser.XMLComponentManager componentManager) throws org.apache.xerces.xni.parser.XMLConfigurationException
reset
in interface org.apache.xerces.xni.parser.XMLComponent
org.apache.xerces.xni.parser.XMLConfigurationException
public void processingInstruction(String target, org.apache.xerces.xni.XMLString data, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
processingInstruction
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void startDocument(org.apache.xerces.xni.XMLLocator locator, String encoding, org.apache.xerces.xni.NamespaceContext namespaceContext, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
startDocument
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void xmlDecl(String version, String encoding, String standalone, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
xmlDecl
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void doctypeDecl(String rootElement, String publicId, String systemId, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
doctypeDecl
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void comment(org.apache.xerces.xni.XMLString text, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
comment
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
startElement
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void emptyElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
emptyElement
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void startGeneralEntity(String name, org.apache.xerces.xni.XMLResourceIdentifier identifier, String encoding, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
startGeneralEntity
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void textDecl(String version, String encoding, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
textDecl
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void endGeneralEntity(String name, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
endGeneralEntity
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void characters(org.apache.xerces.xni.XMLString text, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
characters
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void ignorableWhitespace(org.apache.xerces.xni.XMLString text, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
ignorableWhitespace
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void endElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
endElement
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void startCDATA(org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
startCDATA
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void endCDATA(org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
endCDATA
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void endDocument(org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
endDocument
in interface org.apache.xerces.xni.XMLDocumentHandler
org.apache.xerces.xni.XNIException
public void setDocumentSource(org.apache.xerces.xni.parser.XMLDocumentSource source)
setDocumentSource
in interface org.apache.xerces.xni.XMLDocumentHandler
public org.apache.xerces.xni.parser.XMLDocumentSource getDocumentSource()
getDocumentSource
in interface org.apache.xerces.xni.XMLDocumentHandler
public void setDocumentHandler(org.apache.xerces.xni.XMLDocumentHandler handler)
setDocumentHandler
in interface org.apache.xerces.xni.parser.XMLDocumentSource
public org.apache.xerces.xni.XMLDocumentHandler getDocumentHandler()
getDocumentHandler
in interface org.apache.xerces.xni.parser.XMLDocumentSource
public String[] getRecognizedFeatures()
getRecognizedFeatures
in interface org.apache.xerces.xni.parser.XMLComponent
public void setFeature(String featureId, boolean state) throws org.apache.xerces.xni.parser.XMLConfigurationException
setFeature
in interface org.apache.xerces.xni.parser.XMLComponent
org.apache.xerces.xni.parser.XMLConfigurationException
public String[] getRecognizedProperties()
getRecognizedProperties
in interface org.apache.xerces.xni.parser.XMLComponent
public void setProperty(String propertyId, Object value) throws org.apache.xerces.xni.parser.XMLConfigurationException
setProperty
in interface org.apache.xerces.xni.parser.XMLComponent
org.apache.xerces.xni.parser.XMLConfigurationException
public Boolean getFeatureDefault(String featureId)
getFeatureDefault
in interface org.apache.xerces.xni.parser.XMLComponent
Copyright © 2021. All rights reserved.