- java.lang.Object
-
- com.sun.xml.messaging.saaj.soap.impl.ElementImpl
-
- com.sun.xml.messaging.saaj.soap.impl.BodyImpl
-
- com.sun.xml.messaging.saaj.soap.ver1_2.Body1_2Impl
-
- All Implemented Interfaces:
Node,SOAPBody,SOAPBodyElement,SOAPElement,Element,Node
public class Body1_2Impl extends BodyImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected static Loggerlog-
Fields inherited from class com.sun.xml.messaging.saaj.soap.impl.ElementImpl
DSIG_NS, elementQName, WSU_NS, XENC_NS, XML_URI, XMLNS_URI
-
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
-
-
Constructor Summary
Constructors Constructor Description Body1_2Impl(SOAPDocumentImpl ownerDocument, String prefix)Body1_2Impl(SOAPDocumentImpl ownerDoc, Element domElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SOAPElementaddAttribute(QName name, String value)SOAPElementaddAttribute(Name name, String value)SOAPBodyElementaddBodyElement(QName name)SOAPBodyElementaddBodyElement(Name name)SOAPElementaddChildElement(QName name)SOAPElementaddChildElement(Name name)protected SOAPElementaddElement(QName name)protected SOAPElementaddElement(Name name)SOAPFaultaddFault()protected SOAPBodyElementcreateBodyElement(QName name)protected SOAPBodyElementcreateBodyElement(Name name)protected SOAPFaultcreateFaultElement()protected QNamegetDefaultFaultCode()protected NameImplgetFaultName(String name)protected booleanisFault(SOAPElement child)voidsetEncodingStyle(String encodingStyle)-
Methods inherited from class com.sun.xml.messaging.saaj.soap.impl.BodyImpl
addDocument, addFault, addFault, addFault, addFault, convertToSoapElement, extractContentAsDocument, findFault, getChildNodes, getFault, getFirstChild, getFirstChildNoMaterialize, getLastChild, hasChildNodes, hasFault, isLazy, setElementQName, setParentElement
-
Methods inherited from class com.sun.xml.messaging.saaj.soap.impl.ElementImpl
addCDATA, 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, setEncodingStyleNamespace, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setPrefix, setTextContent, setUserData, setValue, tryToFindEncodingStyleAttributeName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 javax.xml.soap.Node
detachNode, getParentElement, getValue, recycleNode, setValue
-
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
-
Methods inherited from interface javax.xml.soap.SOAPElement
addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration
-
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Constructor Detail
-
Body1_2Impl
public Body1_2Impl(SOAPDocumentImpl ownerDocument, String prefix)
-
Body1_2Impl
public Body1_2Impl(SOAPDocumentImpl ownerDoc, Element domElement)
-
-
Method Detail
-
getFaultName
protected NameImpl getFaultName(String name)
- Specified by:
getFaultNamein classBodyImpl
-
createBodyElement
protected SOAPBodyElement createBodyElement(Name name)
- Specified by:
createBodyElementin classBodyImpl
-
createBodyElement
protected SOAPBodyElement createBodyElement(QName name)
- Specified by:
createBodyElementin classBodyImpl
-
getDefaultFaultCode
protected QName getDefaultFaultCode()
- Specified by:
getDefaultFaultCodein classBodyImpl
-
addFault
public SOAPFault addFault() throws SOAPException
- Specified by:
addFaultin interfaceSOAPBody- Overrides:
addFaultin classBodyImpl- Throws:
SOAPException
-
setEncodingStyle
public void setEncodingStyle(String encodingStyle) throws SOAPException
- Specified by:
setEncodingStylein interfaceSOAPElement- Overrides:
setEncodingStylein classElementImpl- Throws:
SOAPException
-
addAttribute
public SOAPElement addAttribute(Name name, String value) throws SOAPException
- Specified by:
addAttributein interfaceSOAPElement- Overrides:
addAttributein classElementImpl- Throws:
SOAPException
-
addAttribute
public SOAPElement addAttribute(QName name, String value) throws SOAPException
- Specified by:
addAttributein interfaceSOAPElement- Overrides:
addAttributein classElementImpl- Throws:
SOAPException
-
isFault
protected boolean isFault(SOAPElement child)
-
createFaultElement
protected SOAPFault createFaultElement()
- Specified by:
createFaultElementin classBodyImpl
-
addBodyElement
public SOAPBodyElement addBodyElement(Name name) throws SOAPException
- Specified by:
addBodyElementin interfaceSOAPBody- Overrides:
addBodyElementin classBodyImpl- Throws:
SOAPException
-
addBodyElement
public SOAPBodyElement addBodyElement(QName name) throws SOAPException
- Specified by:
addBodyElementin interfaceSOAPBody- Overrides:
addBodyElementin classBodyImpl- Throws:
SOAPException
-
addElement
protected SOAPElement addElement(Name name) throws SOAPException
- Overrides:
addElementin classBodyImpl- Throws:
SOAPException
-
addElement
protected SOAPElement addElement(QName name) throws SOAPException
- Overrides:
addElementin classBodyImpl- Throws:
SOAPException
-
addChildElement
public SOAPElement addChildElement(Name name) throws SOAPException
- Specified by:
addChildElementin interfaceSOAPElement- Overrides:
addChildElementin classElementImpl- Throws:
SOAPException
-
addChildElement
public SOAPElement addChildElement(QName name) throws SOAPException
- Specified by:
addChildElementin interfaceSOAPElement- Overrides:
addChildElementin classElementImpl- Throws:
SOAPException
-
-