站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

SOAPBodyAxisImpl (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.message
Class SOAPBodyAxisImpl

java.lang.Object
  extended byorg.apache.axis.message.NodeImpl
      extended byorg.apache.axis.message.SOAPElementImpl
          extended byorg.apache.axis.message.SOAPElementAxisImpl
              extended byorg.apache.axis.message.SOAPBodyImpl
                  extended byorg.apache.axis.message.SOAPBodyAxisImpl
All Implemented Interfaces:
Cloneable, Element, Node, javax.xml.soap.Node, Serializable, javax.xml.soap.SOAPBody, javax.xml.soap.SOAPElement

public class SOAPBodyAxisImpl
extends SOAPBodyImpl

Holder for body elements.

Author:
Glyn Normington (glyn@apache.org)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.apache.axis.message.SOAPElementAxisImpl
SOAPElementAxisImpl.QNameAttr
 
Field Summary
 
Fields inherited from class org.apache.axis.message.SOAPElementAxisImpl
_isRoot, attributes, context, elementRep, encodingStyle, endEventIndex, href, id, message, name, namespaces, namespaceURI, prefix, qNameAttrs, recorder, soapPart, startContentsIndex, startEventIndex, typeQName
 
Fields inherited from class org.apache.axis.message.NodeImpl
domNode, soapParent
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
SOAPBodyAxisImpl(String namespace, String localPart, String prefix, Attributes attributes, DeserializationContext context, SOAPConstants soapConsts)
           
 
Method Summary
 javax.xml.soap.SOAPBodyElement addBodyElement(javax.xml.soap.Name name)
           
 javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.Name name)
          Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object.
 javax.xml.soap.SOAPBodyElement addDocument(Document document)
           
 javax.xml.soap.SOAPFault addFault()
           
 javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name name, String s)
           
 javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name name, String s, Locale locale)
           
 void disableFormatting()
           
protected  SOAPElementAxisImpl findElement(List list, String namespace, String localPart)
           
 javax.xml.soap.SOAPFault getFault()
           
 boolean hasFault()
           
protected  void outputImpl(SerializationContext context)
          Subclasses can override
 void setEncodingStyle(String encodingStyle)
          Sets the encoding style for this SOAPElement object to one specified.
 void setParentElement(javax.xml.soap.SOAPElement parent)
          Sets the parent of this Node object to the given SOAPElement object.
 void setSAAJEncodingCompliance(boolean comply)
           
 
Methods inherited from class org.apache.axis.message.SOAPElementAxisImpl
addAttribute, addAttribute, addAttribute, addAttribute, addChild, addChildElement, addChildElement, addChildElement, addChildElement, addMapping, addNamespaceDeclaration, addTextNode, appendChild, cloneNode, clonning, detachAllChildren, detachNode, getAllAttributes, getAsDocument, getAsDOM, getAsString, getAsStringFromInternal, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributesEx, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildNodes, getChildren, getCompleteAttributes, getElementName, getElementsByTagName, getElementsByTagNameNS, getElementsNS, getEncodingStyle, getEnvelope, getFirstChild, getFixupDeserializer, getHref, getID, getLastChild, getLocalName, getName, getNamespacePrefixes, getNamespaceURI, getNamespaceURI, getNextSibling, getNodeType, getNodeValue, getObjectValue, getObjectValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPrefix, getPreviousSibling, getQName, getRealElement, getRecorder, getTagName, getType, getValueAsType, getValueAsType, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, insertBefore, isDirty, isImmutable, isRoot, isSupported, makeAttributesEditable, normalize, output, printFromInternal, publishContents, publishToHandler, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeContents, removeNamespaceDeclaration, replaceChild, setAllAttributes, setAllImmutable, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setContentsIndex, setDirty, setEndIndex, setEnvelope, setFixupDeserializer, setImmutable, setName, setNamespaceURI, setNSMappings, setObjectValue, setOwnerDocument, setPrefix, setQName, setRecorder, setType
 
Methods inherited from class org.apache.axis.message.NodeImpl
getNodeName, getValue, hashCode, recycleNode, setNodeValue, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.soap.SOAPElement
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, getAllAttributes, getAttributeValue, getChildElements, getChildElements, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration
 
Methods inherited from interface javax.xml.soap.Node
detachNode, getParentElement, getValue, recycleNode, setValue
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 

Constructor Detail

SOAPBodyAxisImpl

public SOAPBodyAxisImpl(String namespace,
                        String localPart,
                        String prefix,
                        Attributes attributes,
                        DeserializationContext context,
                        SOAPConstants soapConsts)
                 throws AxisFault
Method Detail

setParentElement

public void setParentElement(javax.xml.soap.SOAPElement parent)
                      throws javax.xml.soap.SOAPException
Description copied from class: NodeImpl
Sets the parent of this Node object to the given SOAPElement object.

Specified by:
setParentElement in interface javax.xml.soap.Node
Overrides:
setParentElement in class SOAPElementAxisImpl
Throws:
javax.xml.soap.SOAPException

disableFormatting

public void disableFormatting()

setEncodingStyle

public void setEncodingStyle(String encodingStyle)
                      throws javax.xml.soap.SOAPException
Description copied from class: SOAPElementAxisImpl
Sets the encoding style for this SOAPElement object to one specified. The semantics of a null value, as above in getEncodingStyle() are to just use the parent's value, but null here means set to "".

Specified by:
setEncodingStyle in interface javax.xml.soap.SOAPElement
Overrides:
setEncodingStyle in class SOAPElementAxisImpl
Parameters:
encodingStyle - a String giving the encoding style
Throws:
javax.xml.soap.SOAPException
See Also:
getEncodingStyle()

outputImpl

protected void outputImpl(SerializationContext context)
                   throws Exception
Description copied from class: SOAPElementAxisImpl
Subclasses can override

Overrides:
outputImpl in class SOAPElementAxisImpl
Throws:
Exception

findElement

protected SOAPElementAxisImpl findElement(List list,
                                          String namespace,
                                          String localPart)

addBodyElement

public javax.xml.soap.SOAPBodyElement addBodyElement(javax.xml.soap.Name name)
                                              throws javax.xml.soap.SOAPException
Specified by:
addBodyElement in interface javax.xml.soap.SOAPBody
Overrides:
addBodyElement in class SOAPBodyImpl
Throws:
javax.xml.soap.SOAPException

addFault

public javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name name,
                                         String s,
                                         Locale locale)
                                  throws javax.xml.soap.SOAPException
Specified by:
addFault in interface javax.xml.soap.SOAPBody
Overrides:
addFault in class SOAPBodyImpl
Throws:
javax.xml.soap.SOAPException

addFault

public javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name name,
                                         String s)
                                  throws javax.xml.soap.SOAPException
Specified by:
addFault in interface javax.xml.soap.SOAPBody
Overrides:
addFault in class SOAPBodyImpl
Throws:
javax.xml.soap.SOAPException

addDocument

public javax.xml.soap.SOAPBodyElement addDocument(Document document)
                                           throws javax.xml.soap.SOAPException
Specified by:
addDocument in interface javax.xml.soap.SOAPBody
Overrides:
addDocument in class SOAPBodyImpl
Throws:
javax.xml.soap.SOAPException

addFault

public javax.xml.soap.SOAPFault addFault()
                                  throws javax.xml.soap.SOAPException
Specified by:
addFault in interface javax.xml.soap.SOAPBody
Overrides:
addFault in class SOAPBodyImpl
Throws:
javax.xml.soap.SOAPException

getFault

public javax.xml.soap.SOAPFault getFault()
Specified by:
getFault in interface javax.xml.soap.SOAPBody
Overrides:
getFault in class SOAPBodyImpl

hasFault

public boolean hasFault()
Specified by:
hasFault in interface javax.xml.soap.SOAPBody
Overrides:
hasFault in class SOAPBodyImpl

setSAAJEncodingCompliance

public void setSAAJEncodingCompliance(boolean comply)

addChildElement

public javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.Name name)
                                           throws javax.xml.soap.SOAPException
Description copied from class: SOAPElementImpl
Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object.

Specified by:
addChildElement in interface javax.xml.soap.SOAPElement
Overrides:
addChildElement in class SOAPElementAxisImpl
Throws:
javax.xml.soap.SOAPException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.