public abstract class OMContentHandler extends Object implements ContentHandler, LexicalHandler, DeclHandler, DTDHandler
| Constructor and Description |
|---|
OMContentHandler(boolean expandEntityReferences) |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeDecl(String eName,
String aName,
String type,
String mode,
String value) |
void |
characters(char[] ch,
int start,
int length) |
void |
comment(char[] ch,
int start,
int length) |
protected abstract void |
completed(org.apache.axiom.om.OMElement element) |
protected abstract void |
createOMComment(org.apache.axiom.om.OMContainer parent,
String content) |
protected abstract void |
createOMDocType(org.apache.axiom.om.OMContainer parent,
String rootName,
String publicId,
String systemId,
String internalSubset) |
protected abstract org.apache.axiom.om.OMElement |
createOMElement(org.apache.axiom.om.OMContainer parent,
String localName,
String namespaceURI,
String prefix,
String[] namespaces,
int namespaceCount) |
protected abstract void |
createOMEntityReference(org.apache.axiom.om.OMContainer parent,
String name,
String replacementText) |
protected abstract void |
createOMProcessingInstruction(org.apache.axiom.om.OMContainer parent,
String piTarget,
String piData) |
protected abstract void |
createOMText(org.apache.axiom.om.OMContainer parent,
String text,
int type) |
protected abstract void |
doEndDocument() |
protected abstract org.apache.axiom.om.OMContainer |
doStartDocument() |
void |
elementDecl(String name,
String model) |
void |
endCDATA() |
void |
endDocument() |
void |
endDTD() |
void |
endElement(String uri,
String localName,
String qName) |
void |
endEntity(String name) |
void |
endPrefixMapping(String prefix) |
void |
externalEntityDecl(String name,
String publicId,
String systemId) |
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
void |
internalEntityDecl(String name,
String value) |
void |
notationDecl(String name,
String publicId,
String systemId) |
void |
processingInstruction(String piTarget,
String data) |
void |
setDocumentLocator(Locator locator) |
void |
skippedEntity(String name) |
void |
startCDATA() |
void |
startDocument() |
void |
startDTD(String name,
String publicId,
String systemId) |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
void |
startEntity(String name) |
void |
startPrefixMapping(String prefix,
String uri) |
void |
unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName) |
public final void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlerpublic final void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXExceptionpublic final void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXExceptionpublic final void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD in interface LexicalHandlerSAXExceptionpublic final void elementDecl(String name, String model) throws SAXException
elementDecl in interface DeclHandlerSAXExceptionpublic final void attributeDecl(String eName, String aName, String type, String mode, String value) throws SAXException
attributeDecl in interface DeclHandlerSAXExceptionpublic final void externalEntityDecl(String name, String publicId, String systemId) throws SAXException
externalEntityDecl in interface DeclHandlerSAXExceptionpublic final void internalEntityDecl(String name, String value) throws SAXException
internalEntityDecl in interface DeclHandlerSAXExceptionpublic final void notationDecl(String name, String publicId, String systemId) throws SAXException
notationDecl in interface DTDHandlerSAXExceptionpublic final void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException
unparsedEntityDecl in interface DTDHandlerSAXExceptionpublic final void endDTD()
throws SAXException
endDTD in interface LexicalHandlerSAXExceptionpublic final void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerSAXExceptionpublic final void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping in interface ContentHandlerSAXExceptionpublic final void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerSAXExceptionpublic final void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerSAXExceptionpublic final void startCDATA()
throws SAXException
startCDATA in interface LexicalHandlerSAXExceptionpublic final void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerSAXExceptionpublic final void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlerSAXExceptionpublic final void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXExceptionpublic final void processingInstruction(String piTarget, String data) throws SAXException
processingInstruction in interface ContentHandlerSAXExceptionpublic final void comment(char[] ch,
int start,
int length)
throws SAXException
comment in interface LexicalHandlerSAXExceptionpublic final void skippedEntity(String name) throws SAXException
skippedEntity in interface ContentHandlerSAXExceptionpublic final void startEntity(String name) throws SAXException
startEntity in interface LexicalHandlerSAXExceptionpublic final void endEntity(String name) throws SAXException
endEntity in interface LexicalHandlerSAXExceptionprotected abstract org.apache.axiom.om.OMContainer doStartDocument()
protected abstract void doEndDocument()
protected abstract void createOMDocType(org.apache.axiom.om.OMContainer parent,
String rootName,
String publicId,
String systemId,
String internalSubset)
protected abstract org.apache.axiom.om.OMElement createOMElement(org.apache.axiom.om.OMContainer parent,
String localName,
String namespaceURI,
String prefix,
String[] namespaces,
int namespaceCount)
protected abstract void completed(org.apache.axiom.om.OMElement element)
protected abstract void createOMText(org.apache.axiom.om.OMContainer parent,
String text,
int type)
protected abstract void createOMProcessingInstruction(org.apache.axiom.om.OMContainer parent,
String piTarget,
String piData)
protected abstract void createOMComment(org.apache.axiom.om.OMContainer parent,
String content)
Copyright © The Apache Software Foundation. All Rights Reserved.