com.sun.xml.messaging.saaj.soap.impl
Class BodyImpl
java.lang.Object
com.sun.org.apache.xerces.internal.dom.NodeImpl
com.sun.org.apache.xerces.internal.dom.ChildNode
com.sun.org.apache.xerces.internal.dom.ParentNode
com.sun.org.apache.xerces.internal.dom.ElementImpl
com.sun.org.apache.xerces.internal.dom.ElementNSImpl
com.sun.xml.messaging.saaj.soap.impl.ElementImpl
com.sun.xml.messaging.saaj.soap.impl.BodyImpl
- All Implemented Interfaces:
- Serializable, Cloneable, SOAPBody, SOAPBodyElement, SOAPElement, Element, EventTarget, Node, NodeList, TypeInfo
- Direct Known Subclasses:
- Body1_1Impl, Body1_2Impl
public abstract class BodyImpl
- extends ElementImpl
- implements SOAPBody
The implementation of SOAP-ENV:BODY or the SOAPBody abstraction.
- Author:
- Anil Vijendran (anil@sun.com)
- See Also:
- Serialized Form
| Fields inherited from class com.sun.org.apache.xerces.internal.dom.ElementNSImpl |
localName, namespaceURI |
| Fields inherited from class com.sun.org.apache.xerces.internal.dom.ElementImpl |
attributes, name |
| Fields inherited from class com.sun.org.apache.xerces.internal.dom.ParentNode |
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class com.sun.org.apache.xerces.internal.dom.ChildNode |
nextSibling, previousSibling |
| Fields inherited from class com.sun.org.apache.xerces.internal.dom.NodeImpl |
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE |
| Fields 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 |
| 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, circumventBug5034339, createElement, createElement, createQName, detachNode, doGetNamespacePrefixes, ensureNamespaceIsDeclared, findAndConvertChildElement, findChild, findEncodingStyleAttributeName, getAllAttributes, getAllAttributesAsQNames, getAllAttributesFrom, getAttributeValue, getAttributeValue, getAttributeValueFrom, getChildElementNodes, getChildElements, getChildElements, getChildElements, getChildElementsFrom, getElementName, getElementQName, getEncodingStyle, getLocalPart, getNamespaceAttr, getNamespaceAttrFrom, getNamespaceContextNodes, getNamespaceContextNodes, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getOwnerDocument, getParentElement, getPrefix, getQualifiedName, getSOAPNamespace, getValue, getValueNode, getValueNodeStrict, getVisibleNamespacePrefixes, importElement, isNamespaceQualified, isNamespaceQualified, recycleNode, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, replaceElementWithSOAPElement, setAttributeNS, setEncodingStyle, setEncodingStyleNamespace, setValue, tryToFindEncodingStyleAttributeName |
| Methods inherited from class com.sun.org.apache.xerces.internal.dom.ElementNSImpl |
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues |
| Methods inherited from class com.sun.org.apache.xerces.internal.dom.ElementImpl |
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
| Methods inherited from class com.sun.org.apache.xerces.internal.dom.ParentNode |
getChildNodesUnoptimized, getLength, getTextContent, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren |
| Methods inherited from class com.sun.org.apache.xerces.internal.dom.ChildNode |
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class com.sun.org.apache.xerces.internal.dom.NodeImpl |
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString |
| Methods inherited from interface javax.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 |
| Methods 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, setIdAttributeNS |
| Methods 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, setUserData |
BodyImpl
protected BodyImpl(SOAPDocumentImpl ownerDoc,
NameImpl bodyName)
getFaultName
protected abstract NameImpl getFaultName(String name)
isFault
protected abstract boolean isFault(SOAPElement child)
createBodyElement
protected abstract SOAPBodyElement createBodyElement(Name name)
createBodyElement
protected abstract SOAPBodyElement createBodyElement(QName name)
createFaultElement
protected abstract SOAPFault createFaultElement()
getDefaultFaultCode
protected abstract QName getDefaultFaultCode()
addFault
public SOAPFault addFault()
throws SOAPException
- Specified by:
addFault in interface SOAPBody
- Throws:
SOAPException
addFault
public SOAPFault addFault(Name faultCode,
String faultString,
Locale locale)
throws SOAPException
- Specified by:
addFault in interface SOAPBody
- Throws:
SOAPException
addFault
public SOAPFault addFault(QName faultCode,
String faultString,
Locale locale)
throws SOAPException
- Specified by:
addFault in interface SOAPBody
- Throws:
SOAPException
addFault
public SOAPFault addFault(Name faultCode,
String faultString)
throws SOAPException
- Specified by:
addFault in interface SOAPBody
- Throws:
SOAPException
addFault
public SOAPFault addFault(QName faultCode,
String faultString)
throws SOAPException
- Specified by:
addFault in interface SOAPBody
- Throws:
SOAPException
findFault
protected SOAPElement findFault()
hasFault
public boolean hasFault()
- Specified by:
hasFault in interface SOAPBody
getFault
public SOAPFault getFault()
- Specified by:
getFault in interface SOAPBody
addBodyElement
public SOAPBodyElement addBodyElement(Name name)
throws SOAPException
- Specified by:
addBodyElement in interface SOAPBody
- Throws:
SOAPException
addBodyElement
public SOAPBodyElement addBodyElement(QName qname)
throws SOAPException
- Specified by:
addBodyElement in interface SOAPBody
- Throws:
SOAPException
setParentElement
public void setParentElement(SOAPElement element)
throws SOAPException
- Overrides:
setParentElement in class ElementImpl
- Throws:
SOAPException
addElement
protected SOAPElement addElement(Name name)
throws SOAPException
- Overrides:
addElement in class ElementImpl
- Throws:
SOAPException
addElement
protected SOAPElement addElement(QName name)
throws SOAPException
- Overrides:
addElement in class ElementImpl
- Throws:
SOAPException
addDocument
public SOAPBodyElement addDocument(Document document)
throws SOAPException
- Specified by:
addDocument in interface SOAPBody
- Throws:
SOAPException
convertToSoapElement
protected SOAPElement convertToSoapElement(Element element)
- Overrides:
convertToSoapElement in class ElementImpl
setElementQName
public SOAPElement setElementQName(QName newName)
throws SOAPException
- Specified by:
setElementQName in interface SOAPElement- Overrides:
setElementQName in class ElementImpl
- Throws:
SOAPException
extractContentAsDocument
public Document extractContentAsDocument()
throws SOAPException
- Specified by:
extractContentAsDocument in interface SOAPBody
- Throws:
SOAPException
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodes in interface Node- Overrides:
hasChildNodes in class com.sun.org.apache.xerces.internal.dom.ParentNode
getChildNodes
public NodeList getChildNodes()
- Specified by:
getChildNodes in interface Node- Overrides:
getChildNodes in class com.sun.org.apache.xerces.internal.dom.ParentNode
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChild in interface Node- Overrides:
getFirstChild in class com.sun.org.apache.xerces.internal.dom.ParentNode
getFirstChildNoMaterialize
public Node getFirstChildNoMaterialize()
getLastChild
public Node getLastChild()
- Specified by:
getLastChild in interface Node- Overrides:
getLastChild in class com.sun.org.apache.xerces.internal.dom.ParentNode
isLazy
public boolean isLazy()
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.