|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.impl.builder.StAXBuilder
org.apache.axiom.om.impl.builder.StAXOMBuilder
Constructs an OM without using SOAP specific classes like SOAPEnvelope, SOAPHeader, SOAPHeaderBlock and SOAPBody. This has the document concept also.
Field Summary |
Fields inherited from class org.apache.axiom.om.impl.builder.StAXBuilder |
cache, document, done, isDataHandlerAware, lastNode, omfactory, parser, parserAccessed |
Constructor Summary | |
StAXOMBuilder(java.io.InputStream inStream)
|
|
StAXOMBuilder(OMFactory ombuilderFactory,
javax.xml.stream.XMLStreamReader parser)
Constructor StAXOMBuilder. |
|
StAXOMBuilder(OMFactory factory,
javax.xml.stream.XMLStreamReader parser,
OMElement element)
Constructor linked to existing element. |
|
StAXOMBuilder(java.lang.String filePath)
|
|
StAXOMBuilder(javax.xml.stream.XMLStreamReader parser)
Constructor StAXOMBuilder. |
Method Summary | |
protected OMNode |
createComment()
Method createOMText. |
protected OMNode |
createDTD()
Method createDTD. |
protected OMNode |
createOMElement()
Method createOMElement. |
protected OMNode |
createPI()
Method createPI. |
protected java.lang.String |
createPrefix()
|
protected void |
endElement()
|
OMElement |
getDocumentElement()
Method getDocumentElement. |
int |
next()
Method next. |
protected void |
processNamespaceData(OMElement node)
Method processNamespaceData. |
void |
setDoDebug(boolean doDebug)
|
Methods inherited from class org.apache.axiom.om.impl.builder.StAXBuilder |
createOMText, discard, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getBuilderType, getDocument, getName, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getParser, getPrefix, getRegisteredContentHandler, getText, isCompleted, processAttributes, registerExternalContentHandler, reset, setCache, setOMBuilderFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StAXOMBuilder(OMFactory ombuilderFactory, javax.xml.stream.XMLStreamReader parser)
ombuilderFactory
- parser
- public StAXOMBuilder(OMFactory factory, javax.xml.stream.XMLStreamReader parser, OMElement element)
factory
- parser
- element
- public StAXOMBuilder(java.lang.String filePath) throws javax.xml.stream.XMLStreamException, java.io.FileNotFoundException
filePath
- - Path to the XML file
javax.xml.stream.XMLStreamException
java.io.FileNotFoundException
public StAXOMBuilder(java.io.InputStream inStream) throws javax.xml.stream.XMLStreamException
inStream
- - instream which contains the XML
javax.xml.stream.XMLStreamException
public StAXOMBuilder(javax.xml.stream.XMLStreamReader parser)
parser
- Method Detail |
public int next() throws OMException
next
in interface OMXMLParserWrapper
next
in class StAXBuilder
OMException
protected OMNode createOMElement() throws OMException
createOMElement
in class StAXBuilder
OMException
protected OMNode createComment() throws OMException
OMException
protected OMNode createDTD() throws OMException
OMException
protected OMNode createPI() throws OMException
OMException
protected void endElement()
public OMElement getDocumentElement()
protected void processNamespaceData(OMElement node)
processNamespaceData
in class StAXBuilder
node
- public void setDoDebug(boolean doDebug)
protected java.lang.String createPrefix()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |