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
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.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
Constructors Modifier Constructor Description protectedSOAPElement(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
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected 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 shortregisterContentHandler(XMLStreamWriter writer)Utility 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, 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.OMContainer
serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
-
Methods inherited from interface org.apache.axiom.om.OMElement
serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
-
-
-
-
Constructor Detail
-
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 Detail
-
checkParent
protected abstract void checkParent(org.apache.axiom.om.OMElement parent) throws org.apache.axiom.soap.SOAPProcessingExceptionThis 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
-
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
-
-