Package org.apache.axiom.soap.impl.llom
Class SOAPElement
java.lang.Object
org.apache.axiom.om.impl.llom.OMSerializableImpl
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,org.apache.axiom.om.OMSerializable
- Direct Known Subclasses:
SOAPBodyImpl,SOAPEnvelopeImpl,SOAPFaultCodeImpl,SOAPFaultDetailImpl,SOAPFaultImpl,SOAPFaultNodeImpl,SOAPFaultReasonImpl,SOAPFaultRoleImpl,SOAPFaultSubCodeImpl,SOAPFaultTextImpl,SOAPFaultValueImpl,SOAPHeaderImpl,SOAPTextImpl
-
Field Summary
Fields inherited from class org.apache.axiom.om.impl.llom.OMElementImpl
attributes, DEFAULT_DEFAULT_NS_OBJECT, firstChild, lastChild, localName, namespaces, noPrefixNamespaceCounter, ns, qNameFields inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
nextSibling, nodeType, parent, previousSiblingFields inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl
builder, done, factoryFields 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_URIFields 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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSOAPElement(String localName, org.apache.axiom.om.OMNamespace ns, org.apache.axiom.soap.SOAPFactory factory) protectedSOAPElement(org.apache.axiom.om.OMElement parent, String localName, boolean extractNamespaceFromParent, org.apache.axiom.soap.SOAPFactory factory) protectedSOAPElement(org.apache.axiom.om.OMElement parent, String localName, org.apache.axiom.om.OMXMLParserWrapper builder, org.apache.axiom.soap.SOAPFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidcheckParent(org.apache.axiom.om.OMElement parent) This has to be implemented by all the derived classes to check for the correct parent.protected shortUtility method to register a content handler for push type builders.voidsetParent(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, getFirstOMChildIfAvailable, getLineNumber, getLocalName, getNamespace, getNextOMSibling, getQName, getText, getTextAsQName, getTrimmedText, getType, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, internalSerialize, notifyChildComplete, removeAttribute, resolveQName, setBuilder, setFirstChild, setLastChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsumeMethods inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, importNode, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setPreviousOMSibling, setTypeMethods inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl
close, getOMFactory, isComplete, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.axiom.om.OMContainer
serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumeMethods inherited from interface org.apache.axiom.om.impl.OMContainerEx
setCompleteMethods inherited from interface org.apache.axiom.om.OMElement
serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumeMethods inherited from interface org.apache.axiom.om.OMNode
getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBeforeMethods inherited from interface org.apache.axiom.om.OMSerializable
close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume
-
Constructor Details
-
SOAPElement
protected SOAPElement(org.apache.axiom.om.OMElement parent, 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, String localName, org.apache.axiom.om.OMXMLParserWrapper builder, org.apache.axiom.soap.SOAPFactory factory) -
SOAPElement
protected SOAPElement(String localName, org.apache.axiom.om.OMNamespace ns, org.apache.axiom.soap.SOAPFactory factory) - Parameters:
localName-ns-
-
-
Method Details
-
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:OMNodeImplMethod setParent.- Specified by:
setParentin interfaceorg.apache.axiom.om.impl.OMNodeEx- Overrides:
setParentin classOMNodeImpl- Parameters:
element-
-
registerContentHandler
Utility method to register a content handler for push type builders.- Parameters:
writer-- Returns:
- PULL_TYPE_BUILDER or PUSH_TYPE_BUILDER
-