org.apache.axis2.om.impl.llom.builder
Class SAXOMBuilder
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.axis2.om.impl.llom.builder.SAXOMBuilder
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- public class SAXOMBuilder
- extends DefaultHandler
Method Summary |
void |
characters(char[] ch,
int start,
int length)
|
protected OMElement |
createNextElement(String localName)
|
void |
endDocument()
|
void |
endElement(String arg0,
String arg1,
String arg2)
|
void |
endPrefixMapping(String arg0)
|
OMElement |
getRootElement()
|
void |
ignorableWhitespace(char[] arg0,
int arg1,
int arg2)
|
void |
processingInstruction(String arg0,
String arg1)
|
void |
setDocumentLocator(Locator arg0)
|
void |
skippedEntity(String arg0)
|
void |
startDocument()
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
|
void |
startPrefixMapping(String prefix,
String uri)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAXOMBuilder
public SAXOMBuilder()
setDocumentLocator
public void setDocumentLocator(Locator arg0)
startDocument
public void startDocument()
throws SAXException
- Throws:
SAXException
endDocument
public void endDocument()
throws SAXException
- Throws:
SAXException
createNextElement
protected OMElement createNextElement(String localName)
throws OMException
- Throws:
OMException
startPrefixMapping
public void startPrefixMapping(String prefix,
String uri)
throws SAXException
- Throws:
SAXException
endPrefixMapping
public void endPrefixMapping(String arg0)
throws SAXException
- Throws:
SAXException
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
- Throws:
SAXException
endElement
public void endElement(String arg0,
String arg1,
String arg2)
throws SAXException
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Throws:
SAXException
ignorableWhitespace
public void ignorableWhitespace(char[] arg0,
int arg1,
int arg2)
throws SAXException
- Throws:
SAXException
processingInstruction
public void processingInstruction(String arg0,
String arg1)
throws SAXException
- Throws:
SAXException
skippedEntity
public void skippedEntity(String arg0)
throws SAXException
- Throws:
SAXException
getRootElement
public OMElement getRootElement()
- Returns:
- Returns the root.