org.apache.axiom.soap.impl.llom
Class SOAPElement
java.lang.Object
org.apache.axiom.om.impl.llom.OMNodeImpl
org.apache.axiom.om.impl.llom.OMElementImpl
org.apache.axiom.soap.impl.llom.SOAPElement
- All Implemented Interfaces:
- org.apache.axiom.om.impl.OMContainerEx, org.apache.axiom.om.impl.OMNodeEx, org.apache.axiom.om.OMConstants, org.apache.axiom.om.OMContainer, org.apache.axiom.om.OMElement, org.apache.axiom.om.OMNode
- Direct Known Subclasses:
- SOAPBodyImpl, SOAPEnvelopeImpl, SOAPFaultCodeImpl, SOAPFaultDetailImpl, SOAPFaultImpl, SOAPFaultNodeImpl, SOAPFaultReasonImpl, SOAPFaultRoleImpl, SOAPFaultSubCodeImpl, SOAPFaultTextImpl, SOAPFaultValueImpl, SOAPHeaderImpl, SOAPTextImpl
public abstract class SOAPElement
- extends OMElementImpl
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, XMLNS_NS_PREFIX, XMLNS_NS_URI, XMLNS_PREFIX, XMLNS_URI |
Constructor Summary |
protected |
SOAPElement(org.apache.axiom.om.OMElement parent,
java.lang.String localName,
boolean extractNamespaceFromParent,
org.apache.axiom.soap.SOAPFactory factory)
|
protected |
SOAPElement(org.apache.axiom.om.OMElement parent,
java.lang.String localName,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.soap.SOAPFactory factory)
|
protected |
SOAPElement(java.lang.String localName,
org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.soap.SOAPFactory factory)
|
Method Summary |
protected abstract void |
checkParent(org.apache.axiom.om.OMElement parent)
This has to be implemented by all the derived classes to check for the correct parent. |
protected short |
registerContentHandler(javax.xml.stream.XMLStreamWriter writer)
Utility method to register a content handler for
push type builders. |
void |
setParent(org.apache.axiom.om.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, getLineNumber, getLocalName, getNamespace, getNextOMSibling, getQName, getText, getTextAsQName, getTrimmedText, getType, getXMLStreamReader, getXMLStreamReaderWithoutCaching, internalSerialize, internalSerialize, internalSerializeAndConsume, isComplete, 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 |
close, getOMFactory, getParent, getPreviousOMSibling, importNode, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNextOMSibling, setPreviousOMSibling, setType |
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.OMNode |
close, getOMFactory, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
Methods inherited from interface org.apache.axiom.om.impl.OMContainerEx |
setComplete |
SOAPElement
protected SOAPElement(org.apache.axiom.om.OMElement parent,
java.lang.String localName,
boolean extractNamespaceFromParent,
org.apache.axiom.soap.SOAPFactory factory)
throws org.apache.axiom.soap.SOAPProcessingException
- Parameters:
parent
- localName
- extractNamespaceFromParent
-
- Throws:
org.apache.axiom.soap.SOAPProcessingException
SOAPElement
protected SOAPElement(org.apache.axiom.om.OMElement parent,
java.lang.String localName,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.soap.SOAPFactory factory)
SOAPElement
protected SOAPElement(java.lang.String localName,
org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.soap.SOAPFactory factory)
- Parameters:
localName
- ns
-
checkParent
protected abstract void checkParent(org.apache.axiom.om.OMElement parent)
throws org.apache.axiom.soap.SOAPProcessingException
- This has to be implemented by all the derived classes to check for the correct parent.
- Throws:
org.apache.axiom.soap.SOAPProcessingException
setParent
public void setParent(org.apache.axiom.om.OMContainer element)
- Description copied from class:
OMNodeImpl
- Method setParent.
- Specified by:
setParent
in interface org.apache.axiom.om.impl.OMNodeEx
- Overrides:
setParent
in class OMNodeImpl
registerContentHandler
protected short registerContentHandler(javax.xml.stream.XMLStreamWriter writer)
- Utility method to register a content handler for
push type builders.
- Parameters:
writer
-
- Returns:
- PULL_TYPE_BUILDER or PUSH_TYPE_BUILDER