public abstract class SOAPHeaderImpl extends SOAPElement implements org.apache.axiom.soap.SOAPHeader
attributes, namespacesCDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODECOMPLETE, DISCARDED, INCOMPLETEARRAY_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| Modifier | Constructor and Description |
|---|---|
protected |
SOAPHeaderImpl(org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.soap.SOAPFactory factory) |
|
SOAPHeaderImpl(org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.soap.SOAPFactory factory)
Constructor SOAPHeaderImpl
|
|
SOAPHeaderImpl(org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.soap.SOAPFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(org.apache.axiom.om.OMNode child,
boolean fromBuilder) |
org.apache.axiom.soap.SOAPHeaderBlock |
addHeaderBlock(QName qname) |
org.apache.axiom.soap.SOAPHeaderBlock |
addHeaderBlock(String localName,
org.apache.axiom.om.OMNamespace ns) |
protected 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 org.apache.axiom.om.OMElement |
createClone(org.apache.axiom.om.OMCloneOptions options,
org.apache.axiom.om.OMContainer targetParent) |
Iterator |
examineAllHeaderBlocks() |
Iterator |
examineHeaderBlocks(String role) |
Iterator |
examineMustUnderstandHeaderBlocks(String actor) |
static String |
exceptionToString(Throwable e) |
Iterator |
extractAllHeaderBlocks() |
abstract Iterator |
extractHeaderBlocks(String role) |
ArrayList |
getHeaderBlocksWithNSURI(String nsURI) |
Iterator |
getHeadersToProcess(org.apache.axiom.soap.RolePlayer rolePlayer) |
Iterator |
getHeadersToProcess(org.apache.axiom.soap.RolePlayer rolePlayer,
String namespace) |
internalSetParentaddAttribute, addAttribute, addNamespaceDeclaration, addNamespaceDeclaration, build, buildWithAttachments, checkChild, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getDefaultNamespace, getLineNumber, getNamespaceURI, internalSerialize, removeAttribute, setComplete, setLineNumber, setNamespace, toString, toStringWithConsume, undeclarePrefixclone, coreSetParentgetOMFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getNamespaceContext, getNamespacesInScope, getText, getTextAsQName, getTextAsStream, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setLineNumber, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume, undeclarePrefix, writeTextTobuildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBeforeaddChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXResult, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildrenbuild, close, isComplete, serialize, serialize, serializeAndConsumegetLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, hasName, setLocalName, setNamespacedetachAndDiscardParent, discard, getChildElements, getFirstElement, getNamespaceContext, getNamespacesInScope, getText, getTextAsQName, getTextAsStream, getType, handleNamespace, insertChild, resolveQName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, writeTextToaddChild, defaultBuild, discarded, getFirstChildWithName, getFirstOMChild, getFirstOMChildIfAvailable, getSAXResult, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, isComplete, prepareNewChild, removeChildren, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumedetach, getNextOMSibling, getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBeforeclose, getBuilder, serialize, serialize, serializeAndConsumecoreGetNodeFactorygetLocalName, getNamespace, getPrefix, getQName, handleNamespace, hasName, internalGetLocalName, internalSetLocalName, internalSetNamespace, setLocalNamecoreDetach, coreGetNextSibling, coreGetNextSiblingIfAvailable, coreGetParent, coreGetPreviousSibling, coreHasParent, coreInsertSiblingAfter, coreInsertSiblingBefore, coreInsertSiblingsBefore, coreSetNextSibling, coreSetOwnerDocument, coreSetPreviousSibling, internalUnsetParentprotected SOAPHeaderImpl(org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.soap.SOAPFactory factory)
public SOAPHeaderImpl(org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.soap.SOAPFactory factory)
throws org.apache.axiom.soap.SOAPProcessingException
org.apache.axiom.soap.SOAPProcessingExceptionpublic SOAPHeaderImpl(org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.soap.SOAPFactory factory)
envelope - builder - public org.apache.axiom.soap.SOAPHeaderBlock addHeaderBlock(String localName, org.apache.axiom.om.OMNamespace ns) throws org.apache.axiom.om.OMException
addHeaderBlock in interface org.apache.axiom.soap.SOAPHeaderorg.apache.axiom.om.OMExceptionpublic org.apache.axiom.soap.SOAPHeaderBlock addHeaderBlock(QName qname) throws org.apache.axiom.om.OMException
addHeaderBlock in interface org.apache.axiom.soap.SOAPHeaderorg.apache.axiom.om.OMExceptionpublic Iterator getHeadersToProcess(org.apache.axiom.soap.RolePlayer rolePlayer)
getHeadersToProcess in interface org.apache.axiom.soap.SOAPHeaderpublic Iterator getHeadersToProcess(org.apache.axiom.soap.RolePlayer rolePlayer, String namespace)
getHeadersToProcess in interface org.apache.axiom.soap.SOAPHeaderpublic Iterator examineHeaderBlocks(String role)
examineHeaderBlocks in interface org.apache.axiom.soap.SOAPHeaderpublic abstract Iterator extractHeaderBlocks(String role)
extractHeaderBlocks in interface org.apache.axiom.soap.SOAPHeaderpublic Iterator examineMustUnderstandHeaderBlocks(String actor)
examineMustUnderstandHeaderBlocks in interface org.apache.axiom.soap.SOAPHeaderpublic Iterator examineAllHeaderBlocks()
examineAllHeaderBlocks in interface org.apache.axiom.soap.SOAPHeaderpublic Iterator extractAllHeaderBlocks()
extractAllHeaderBlocks in interface org.apache.axiom.soap.SOAPHeaderpublic ArrayList getHeaderBlocksWithNSURI(String nsURI)
getHeaderBlocksWithNSURI in interface org.apache.axiom.soap.SOAPHeaderprotected void checkParent(org.apache.axiom.om.OMElement parent)
throws org.apache.axiom.soap.SOAPProcessingException
SOAPElementcheckParent in class SOAPElementorg.apache.axiom.soap.SOAPProcessingExceptionpublic void addChild(org.apache.axiom.om.OMNode child,
boolean fromBuilder)
addChild in interface org.apache.axiom.om.impl.common.AxiomContaineraddChild in interface org.apache.axiom.om.impl.OMContainerExprotected org.apache.axiom.om.OMElement createClone(org.apache.axiom.om.OMCloneOptions options,
org.apache.axiom.om.OMContainer targetParent)
createClone in class OMElementImplCopyright ? The Apache Software Foundation. All Rights Reserved.