org.apache.axiom.soap.impl.llom
Class SOAPElement

java.lang.Object
  extended by org.apache.axiom.om.impl.llom.OMSerializableImpl
      extended by org.apache.axiom.om.impl.llom.OMNodeImpl
          extended by org.apache.axiom.om.impl.llom.OMElementImpl
              extended by org.apache.axiom.soap.impl.llom.SOAPElement
All Implemented Interfaces:
OMContainerEx, OMNodeEx, OMConstants, OMContainer, OMElement, OMNode, OMSerializable
Direct Known Subclasses:
SOAPBodyImpl, SOAPEnvelopeImpl, SOAPFaultCodeImpl, SOAPFaultDetailImpl, SOAPFaultImpl, SOAPFaultNodeImpl, SOAPFaultReasonImpl, SOAPFaultRoleImpl, SOAPFaultSubCodeImpl, SOAPFaultTextImpl, SOAPFaultValueImpl, SOAPHeaderImpl, SOAPTextImpl

public abstract class SOAPElement
extends OMElementImpl


Field Summary
 
Fields inherited from class org.apache.axiom.om.impl.llom.OMElementImpl
attributes, DEFAULT_DEFAULT_NS_OBJECT, firstChild, lastChild, localName, namespaces, noPrefixNamespaceCounter, ns, qName
 
Fields inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
nextSibling, nodeType, parent, previousSibling
 
Fields inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl
builder, done, factory
 
Fields inherited from interface org.apache.axiom.om.OMNode
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
 
Fields inherited from interface org.apache.axiom.om.OMConstants
ARRAY_ITEM_LOCALNAME, ARRAY_ITEM_NS_PREFIX, ARRAY_ITEM_NSURI, ARRAY_ITEM_QNAME, DATA_HANDLER, DEFAULT_CHAR_SET_ENCODING, DEFAULT_DEFAULT_NAMESPACE, DEFAULT_XML_VERSION, IS_BINARY, IS_DATA_HANDLERS_AWARE, PULL_TYPE_BUILDER, PUSH_TYPE_BUILDER, XMLATTRTYPE_CDATA, XMLATTRTYPE_ENTITIES, XMLATTRTYPE_ENTITY, XMLATTRTYPE_ID, XMLATTRTYPE_IDREF, XMLATTRTYPE_IDREFS, XMLATTRTYPE_NMTOKEN, XMLATTRTYPE_NMTOKENS, XMLATTRTYPE_NOTATION, XMLNS_NS_PREFIX, XMLNS_NS_URI, XMLNS_PREFIX, XMLNS_URI
 
Constructor Summary
protected SOAPElement(OMElement parent, String localName, boolean extractNamespaceFromParent, SOAPFactory factory)
           
protected SOAPElement(OMElement parent, String localName, OMXMLParserWrapper builder, SOAPFactory factory)
           
protected SOAPElement(String localName, OMNamespace ns, SOAPFactory factory)
           
 
Method Summary
protected abstract  void checkParent(OMElement parent)
          This has to be implemented by all the derived classes to check for the correct parent.
protected  short registerContentHandler(XMLStreamWriter writer)
          Utility method to register a content handler for push type builders.
 void setParent(OMContainer element)
          Method setParent.
 
Methods inherited from class org.apache.axiom.om.impl.llom.OMElementImpl
addAttribute, addAttribute, addChild, build, buildNext, buildWithAttachments, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, detach, discard, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getBuilder, getChildElements, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDefaultNamespace, getFirstChildWithName, getFirstElement, getFirstOMChild, getFirstOMChildIfAvailable, getLineNumber, getLocalName, getNamespace, getNamespaceURI, getNextOMSibling, getQName, getText, getTextAsQName, getTrimmedText, getType, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, internalSerialize, notifyChildComplete, removeAttribute, resolveQName, setBuilder, setFirstChild, setLastChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume
 
Methods inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, importNode, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setPreviousOMSibling, setType
 
Methods inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl
close, getOMFactory, isComplete, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.axiom.om.OMElement
serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
 
Methods inherited from interface org.apache.axiom.om.OMNode
getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore
 
Methods inherited from interface org.apache.axiom.om.impl.OMContainerEx
setComplete
 
Methods inherited from interface org.apache.axiom.om.OMSerializable
close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume
 

Constructor Detail

SOAPElement

protected SOAPElement(OMElement parent,
                      String localName,
                      boolean extractNamespaceFromParent,
                      SOAPFactory factory)
               throws SOAPProcessingException
Parameters:
parent -
localName -
extractNamespaceFromParent -
Throws:
SOAPProcessingException

SOAPElement

protected SOAPElement(OMElement parent,
                      String localName,
                      OMXMLParserWrapper builder,
                      SOAPFactory factory)

SOAPElement

protected SOAPElement(String localName,
                      OMNamespace ns,
                      SOAPFactory factory)
Parameters:
localName -
ns -
Method Detail

checkParent

protected abstract void checkParent(OMElement parent)
                             throws SOAPProcessingException
This has to be implemented by all the derived classes to check for the correct parent.

Throws:
SOAPProcessingException

setParent

public void setParent(OMContainer element)
Description copied from class: OMNodeImpl
Method setParent.

Specified by:
setParent in interface OMNodeEx
Overrides:
setParent in class OMNodeImpl

registerContentHandler

protected short registerContentHandler(XMLStreamWriter writer)
Utility method to register a content handler for push type builders.

Parameters:
writer -
Returns:
PULL_TYPE_BUILDER or PUSH_TYPE_BUILDER


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.