Class BodyImpl
java.lang.Object
com.sun.xml.messaging.saaj.soap.impl.ElementImpl
com.sun.xml.messaging.saaj.soap.impl.BodyImpl
- All Implemented Interfaces:
Node,SOAPBody,SOAPBodyElement,SOAPElement,Element,Node
- Direct Known Subclasses:
Body1_1Impl,Body1_2Impl
The implementation of SOAP-ENV:BODY or the SOAPBody abstraction.
- Author:
- Anil Vijendran (anil@sun.com)
-
Field Summary
Fields inherited from class com.sun.xml.messaging.saaj.soap.impl.ElementImpl
DSIG_NS, elementQName, WSU_NS, XENC_NSFields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBodyImpl(SOAPDocumentImpl ownerDoc, NameImpl bodyName) protectedBodyImpl(SOAPDocumentImpl ownerDoc, Element domElement) -
Method Summary
Modifier and TypeMethodDescriptionaddBodyElement(Name name) addBodyElement(QName qname) addDocument(Document document) protected SOAPElementaddElement(Name name) protected SOAPElementaddElement(QName name) addFault()protected SOAPElementconvertToSoapElement(Element element) protected abstract SOAPBodyElementcreateBodyElement(Name name) protected abstract SOAPBodyElementcreateBodyElement(QName name) protected abstract SOAPFaultprotected SOAPElementprotected abstract QNamegetFault()protected abstract NameImplgetFaultName(String name) booleanbooleanhasFault()protected abstract booleanisFault(SOAPElement child) booleanisLazy()setElementQName(QName newName) voidsetParentElement(SOAPElement element) Methods inherited from class com.sun.xml.messaging.saaj.soap.impl.ElementImpl
addAttribute, addAttribute, addCDATA, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addNode, addText, addTextNode, appendChild, cloneNode, compareDocumentPosition, convertToSoapText, createElement, createElement, createQName, detachNode, doGetNamespacePrefixes, ensureNamespaceIsDeclared, findAndConvertChildElement, findChild, findEncodingStyleAttributeName, getAllAttributes, getAllAttributesAsQNames, getAllAttributesFrom, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributeValue, getAttributeValue, getAttributeValueFrom, getBaseURI, getChildElementNodes, getChildElements, getChildElements, getChildElements, getChildElementsFrom, getDomElement, getElementName, getElementQName, getElementsByTagName, getElementsByTagNameNS, getEncodingStyle, getFeature, getLocalName, getLocalPart, getNamespaceAttr, getNamespaceAttrFrom, getNamespaceContextNodes, getNamespaceContextNodes, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPrefix, getPreviousSibling, getQualifiedName, getSchemaTypeInfo, getSoapDocument, getSOAPNamespace, getTagName, getTextContent, getUserData, getValue, getValueNode, getValueNodeStrict, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, hasAttributes, importElement, insertBefore, isDefaultNamespace, isEqualNode, isNamespaceQualified, isNamespaceQualified, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, removeAttribute, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeContents, removeNamespaceDeclaration, replaceChild, replaceElementWithSOAPElement, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setEncodingStyle, setEncodingStyleNamespace, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setPrefix, setTextContent, setUserData, setValue, tryToFindEncodingStyleAttributeNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from interface jakarta.xml.soap.Node
detachNode, getParentElement, getValue, recycleNode, setValueMethods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataMethods inherited from interface jakarta.xml.soap.SOAPElement
addAttribute, addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, setEncodingStyle
-
Constructor Details
-
BodyImpl
-
BodyImpl
-
-
Method Details
-
getFaultName
-
isFault
-
createBodyElement
-
createBodyElement
-
createFaultElement
-
getDefaultFaultCode
-
addFault
- Specified by:
addFaultin interfaceSOAPBody- Throws:
SOAPException
-
addFault
- Specified by:
addFaultin interfaceSOAPBody- Throws:
SOAPException
-
addFault
- Specified by:
addFaultin interfaceSOAPBody- Throws:
SOAPException
-
addFault
- Specified by:
addFaultin interfaceSOAPBody- Throws:
SOAPException
-
addFault
- Specified by:
addFaultin interfaceSOAPBody- Throws:
SOAPException
-
findFault
-
hasFault
public boolean hasFault() -
getFault
-
addBodyElement
- Specified by:
addBodyElementin interfaceSOAPBody- Throws:
SOAPException
-
addBodyElement
- Specified by:
addBodyElementin interfaceSOAPBody- Throws:
SOAPException
-
setParentElement
- Specified by:
setParentElementin interfaceNode- Overrides:
setParentElementin classElementImpl- Throws:
SOAPException
-
addElement
- Overrides:
addElementin classElementImpl- Throws:
SOAPException
-
addElement
- Overrides:
addElementin classElementImpl- Throws:
SOAPException
-
addDocument
- Specified by:
addDocumentin interfaceSOAPBody- Throws:
SOAPException
-
convertToSoapElement
- Overrides:
convertToSoapElementin classElementImpl
-
setElementQName
- Specified by:
setElementQNamein interfaceSOAPElement- Overrides:
setElementQNamein classElementImpl- Throws:
SOAPException
-
extractContentAsDocument
- Specified by:
extractContentAsDocumentin interfaceSOAPBody- Throws:
SOAPException
-
hasChildNodes
public boolean hasChildNodes()- Specified by:
hasChildNodesin interfaceNode- Overrides:
hasChildNodesin classElementImpl
-
getChildNodes
- Specified by:
getChildNodesin interfaceNode- Overrides:
getChildNodesin classElementImpl
-
getFirstChild
- Specified by:
getFirstChildin interfaceNode- Overrides:
getFirstChildin classElementImpl
-
getFirstChildNoMaterialize
-
getLastChild
- Specified by:
getLastChildin interfaceNode- Overrides:
getLastChildin classElementImpl
-
isLazy
public boolean isLazy()
-