org.apache.axiom.om.impl.builder
Class XOPAwareStAXOMBuilder

java.lang.Object
  extended byorg.apache.axiom.om.impl.builder.StAXBuilder
      extended byorg.apache.axiom.om.impl.builder.StAXOMBuilder
          extended byorg.apache.axiom.om.impl.builder.XOPAwareStAXOMBuilder
All Implemented Interfaces:
OMXMLParserWrapper, XOPBuilder

public class XOPAwareStAXOMBuilder
extends StAXOMBuilder
implements XOPBuilder


Field Summary
 
Fields inherited from class org.apache.axiom.om.impl.builder.StAXBuilder
cache, document, done, lastNode, omfactory, parser, parserAccessed
 
Constructor Summary
XOPAwareStAXOMBuilder(java.io.InputStream inStream, Attachments attachments)
           
XOPAwareStAXOMBuilder(OMFactory ombuilderFactory, javax.xml.stream.XMLStreamReader parser, Attachments attachments)
          Constructor StAXOMBuilder.
XOPAwareStAXOMBuilder(OMFactory factory, javax.xml.stream.XMLStreamReader parser, OMElement element, Attachments attachments)
          Constructor linked to existing element.
XOPAwareStAXOMBuilder(java.lang.String filePath, Attachments attachments)
           
XOPAwareStAXOMBuilder(javax.xml.stream.XMLStreamReader parser, Attachments attachments)
          Constructor StAXXOPAwareOMBuilder.
 
Method Summary
protected  OMNode createOMElement()
          Method createOMElement.
 javax.activation.DataHandler getDataHandler(java.lang.String blobContentID)
           
 
Methods inherited from class org.apache.axiom.om.impl.builder.StAXOMBuilder
createComment, createDTD, createPI, createPrefix, endElement, getDocumentElement, next, processNamespaceData, setDoDebug
 
Methods inherited from class org.apache.axiom.om.impl.builder.StAXBuilder
close, createOMText, discard, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getBuilderType, getCharsetEncoding, getDocument, getLastNode, getName, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getParser, getPrefix, getReaderProperty, getRegisteredContentHandler, getText, init, 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

XOPAwareStAXOMBuilder

public XOPAwareStAXOMBuilder(OMFactory ombuilderFactory,
                             javax.xml.stream.XMLStreamReader parser,
                             Attachments attachments)
Constructor StAXOMBuilder.

Parameters:
ombuilderFactory -
parser -

XOPAwareStAXOMBuilder

public XOPAwareStAXOMBuilder(OMFactory factory,
                             javax.xml.stream.XMLStreamReader parser,
                             OMElement element,
                             Attachments attachments)
Constructor linked to existing element.

Parameters:
factory -
parser -
element -

XOPAwareStAXOMBuilder

public XOPAwareStAXOMBuilder(java.lang.String filePath,
                             Attachments attachments)
                      throws javax.xml.stream.XMLStreamException,
                             java.io.FileNotFoundException
Parameters:
filePath - - Path to the XML file
Throws:
javax.xml.stream.XMLStreamException
java.io.FileNotFoundException

XOPAwareStAXOMBuilder

public XOPAwareStAXOMBuilder(java.io.InputStream inStream,
                             Attachments attachments)
                      throws javax.xml.stream.XMLStreamException
Parameters:
inStream - - instream which contains the XML
Throws:
javax.xml.stream.XMLStreamException

XOPAwareStAXOMBuilder

public XOPAwareStAXOMBuilder(javax.xml.stream.XMLStreamReader parser,
                             Attachments attachments)
Constructor StAXXOPAwareOMBuilder.

Parameters:
parser -
Method Detail

createOMElement

protected OMNode createOMElement()
                          throws OMException
Method createOMElement. Overriding the createOMElement of StAXOMBuilder to to XOP aware building

Overrides:
createOMElement in class StAXOMBuilder
Returns:
Returns OMNode.
Throws:
OMException

getDataHandler

public javax.activation.DataHandler getDataHandler(java.lang.String blobContentID)
                                            throws OMException
Specified by:
getDataHandler in interface XOPBuilder
Throws:
OMException


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.