|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis.message.NodeImpl
org.apache.axis.message.MessageElement
com.ibm.di.fc.webservice.util.SOAPBodyOutputNS
public class SOAPBodyOutputNS
This class is used by the SOAPEnvelopeOutputNS class
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.axis.message.MessageElement |
|---|
org.apache.axis.message.MessageElement.QNameAttr |
| Field Summary |
|---|
| Fields inherited from class org.apache.axis.message.MessageElement |
|---|
_isRoot, context, encodingStyle, endEventIndex, fixupDeserializer, href, id, message, namespaces, qNameAttrs, recorder, startContentsIndex, startEventIndex, typeQName |
| Fields inherited from class org.apache.axis.message.NodeImpl |
|---|
_isDirty, attributes, children, document, name, namespaceURI, parent, prefix, textRep |
| 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 | |
|---|---|
SOAPBodyOutputNS(java.lang.String namespace,
java.lang.String localPart,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
org.apache.axis.encoding.DeserializationContext context,
org.apache.axis.soap.SOAPConstants soapConsts)
Class constructor |
|
| Method Summary | |
|---|---|
javax.xml.soap.SOAPElement |
addAttribute(javax.xml.namespace.QName qName,
java.lang.String val)
not used |
javax.xml.soap.SOAPBodyElement |
addBodyElement(javax.xml.soap.Name name)
adds a new SOAPBodyElement |
javax.xml.soap.SOAPBodyElement |
addBodyElement(javax.xml.namespace.QName qName)
not used |
void |
addChild(org.apache.axis.message.MessageElement el)
Note that this method will log a error and no-op if there is a value (set using setObjectValue) in the MessageElement. |
javax.xml.soap.SOAPElement |
addChildElement(javax.xml.namespace.QName qName)
not used |
javax.xml.soap.SOAPElement |
addChildElement(java.lang.String localName,
java.lang.String prefix,
java.lang.String uri)
not used |
javax.xml.soap.SOAPBodyElement |
addDocument(org.w3c.dom.Document aDoc)
not used |
javax.xml.soap.SOAPFault |
addFault()
Creates a new SOAPFault object and adds it to this SOAPBody object. |
javax.xml.soap.SOAPFault |
addFault(javax.xml.soap.Name aName,
java.lang.String aFault)
not used |
javax.xml.soap.SOAPFault |
addFault(javax.xml.soap.Name aName,
java.lang.String aFault,
java.util.Locale aLocale)
not used |
javax.xml.soap.SOAPFault |
addFault(javax.xml.namespace.QName qName,
java.lang.String nFault)
not used |
javax.xml.soap.SOAPFault |
addFault(javax.xml.namespace.QName qName,
java.lang.String nFault,
java.util.Locale locale)
not used |
short |
compareDocumentPosition(org.w3c.dom.Node other)
not used |
javax.xml.namespace.QName |
createQName(java.lang.String localName,
java.lang.String prefix)
not used |
void |
detachNode()
Removes this Node object from the tree. |
void |
disableFormatting()
Sets the class field to true to disable formatting |
boolean |
equals(java.lang.Object o)
|
org.w3c.dom.Document |
extractContentAsDocument()
not used |
protected org.apache.axis.message.MessageElement |
findElement(java.util.Vector vec,
java.lang.String namespace,
java.lang.String localPart)
Finds SOAPBodyElement |
java.util.Iterator |
getAllAttributesAsQNames()
not used |
java.lang.String |
getAttributeValue(javax.xml.namespace.QName qName)
not used |
java.lang.String |
getBaseURI()
not used |
java.util.Iterator |
getChildElements()
get an iterator over the children This iterator may get confused if changes are made to the children while the iteration is in progress. |
java.util.Iterator |
getChildElements(javax.xml.soap.Name name)
Returns an iterator over all the child elements with the specified name. |
org.xml.sax.Attributes |
getCompleteAttributes()
Obtain an Attributes collection consisting of all attributes for this MessageElement, including namespace declarations. |
javax.xml.namespace.QName |
getElementQName()
not used |
javax.xml.soap.SOAPFault |
getFault()
Retrieves SOAPFault. |
java.lang.Object |
getFeature(java.lang.String feature,
java.lang.String version)
not used |
org.w3c.dom.TypeInfo |
getSchemaTypeInfo()
not used |
java.lang.String |
getTextContent()
not used |
java.lang.Object |
getUserData(java.lang.String key)
not used |
boolean |
hasFault()
Indicates whether a SOAPFault object exists in this SOAPBody object. |
int |
hashCode()
|
boolean |
isDefaultNamespace(java.lang.String namespaceURI)
not used |
boolean |
isEqualNode(org.w3c.dom.Node arg)
not used |
boolean |
isSameNode(org.w3c.dom.Node other)
not used |
java.lang.String |
lookupNamespaceURI(java.lang.String prefix)
not used |
java.lang.String |
lookupPrefix(java.lang.String namespaceURI)
not used |
protected void |
outputImpl(org.apache.axis.encoding.SerializationContext context)
override point -output to a serialization context. |
boolean |
removeAttribute(javax.xml.namespace.QName qName)
not used |
void |
removeChild(org.apache.axis.message.MessageElement child)
removes all occurrences of the specified child element |
javax.xml.soap.SOAPElement |
setElementQName(javax.xml.namespace.QName newName)
not used |
void |
setEncodingStyle(java.lang.String encodingStyle)
Sets the encoding style for this SOAPElement object to one specified. |
void |
setIdAttribute(java.lang.String name,
boolean isId)
not used |
void |
setIdAttributeNode(org.w3c.dom.Attr idAttr,
boolean isId)
not used |
void |
setIdAttributeNS(java.lang.String namespaceURI,
java.lang.String localName,
boolean isId)
not used |
void |
setParentElement(javax.xml.soap.SOAPElement parent)
Sets the parent of this Node object to the given SOAPElement
object. |
void |
setSAAJEncodingCompliance(boolean comply)
Indicates the SAAJCompliance |
void |
setTextContent(java.lang.String textContent)
not used |
java.lang.Object |
setUserData(java.lang.String key,
java.lang.Object data,
org.w3c.dom.UserDataHandler handler)
not used |
| Methods inherited from class org.apache.axis.message.MessageElement |
|---|
addAttribute, addAttribute, addAttribute, addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addMapping, addNamespaceDeclaration, addTextNode, childDeepCloned, cloneNode, cloning, detachAllChildren, getAllAttributes, getAsDocument, getAsDOM, getAsString, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributesEx, getAttributeValue, getAttributeValue, getChildElement, getChildElements, getChildren, getDeserializationContext, getElementName, getElementsByTagName, getElementsByTagNameNS, getElementsNS, getEncodingStyle, getEnvelope, getFixupDeserializer, getHref, getID, getLength, getName, getNamespacePrefixes, getNamespaceURI, getObjectValue, getObjectValue, getOwnerDocument, getPrefix, getQName, getRealElement, getRecorder, getTagName, getType, getValue, getValueAsType, getValueAsType, getValueDOM, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, isRoot, item, output, publishContents, publishToHandler, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeContents, removeNamespaceDeclaration, setAllAttributes, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setContentsIndex, setEndIndex, setEnvelope, setFixupDeserializer, setName, setNamespaceURI, setNSMappings, setObjectValue, setQName, setRecorder, setType, setValue, toString |
| Methods inherited from class org.apache.axis.message.NodeImpl |
|---|
appendChild, convertAttrSAXtoDOM, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParent, getParentElement, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, initializeChildren, insertBefore, isDirty, isSupported, makeAttributesEditable, normalize, recycleNode, removeChild, replaceChild, reset, setDirty, setDirty, setNodeValue, setOwnerDocument, setParent, setPrefix |
| Methods inherited from class java.lang.Object |
|---|
clone, 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, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration |
| Methods inherited from interface javax.xml.soap.Node |
|---|
getParentElement, getValue, recycleNode, setValue |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
| 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 |
| Constructor Detail |
|---|
public SOAPBodyOutputNS(java.lang.String namespace,
java.lang.String localPart,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
org.apache.axis.encoding.DeserializationContext context,
org.apache.axis.soap.SOAPConstants soapConsts)
throws org.apache.axis.AxisFault
namespace - StringlocalPart - Stringprefix - Stringattributes - Attributescontext - DeserializationContextsoapConsts - SOAPConstants
org.apache.axis.AxisFault| Method Detail |
|---|
public void setParentElement(javax.xml.soap.SOAPElement parent)
throws javax.xml.soap.SOAPException
Node object to the given SOAPElement
object.
setParentElement in class org.apache.axis.message.NodeImplparent - the SOAPElement object to be set as the parent of this
Node object
javax.xml.soap.SOAPException - if there is a problem in setting the parent to the given
element
java.lang.IllegalArgumentException - if the SOAPElement is nullpublic void detachNode()
detachNode in class org.apache.axis.message.NodeImplpublic void disableFormatting()
true to disable formatting
public void setEncodingStyle(java.lang.String encodingStyle)
throws javax.xml.soap.SOAPException
setEncodingStyle in interface javax.xml.soap.SOAPElementsetEncodingStyle in class org.apache.axis.message.MessageElementencodingStyle - String
javax.xml.soap.SOAPException - when for some reason the style cannot be set
java.lang.IllegalArgumentException - when the encoding style is not recognized
protected void outputImpl(org.apache.axis.encoding.SerializationContext context)
throws java.lang.Exception
outputImpl in class org.apache.axis.message.MessageElementcontext - SerializationContext is destination
java.lang.Exception - if something went wrong.
protected org.apache.axis.message.MessageElement findElement(java.util.Vector vec,
java.lang.String namespace,
java.lang.String localPart)
SOAPBodyElement
findElement in class org.apache.axis.message.MessageElementvec - Vector , the collection to be searched innamespace - StringlocalPart - String
public javax.xml.soap.SOAPBodyElement addBodyElement(javax.xml.soap.Name name)
throws javax.xml.soap.SOAPException
addBodyElement in interface javax.xml.soap.SOAPBodyname - Name
javax.xml.soap.SOAPExceptionSOAPBody.addBodyElement(javax.xml.soap.Name)
public javax.xml.soap.SOAPFault addFault()
throws javax.xml.soap.SOAPException
addFault in interface javax.xml.soap.SOAPBodyjavax.xml.soap.SOAPException - if there is a SOAP errorSOAPBody.addFault()public javax.xml.soap.SOAPFault getFault()
getFault in interface javax.xml.soap.SOAPBodypublic boolean hasFault()
hasFault in interface javax.xml.soap.SOAPBody
public void addChild(org.apache.axis.message.MessageElement el)
throws javax.xml.soap.SOAPException
addChild in class org.apache.axis.message.MessageElementel - MessageElement
javax.xml.soap.SOAPExceptionpublic java.util.Iterator getChildElements()
getChildElements in interface javax.xml.soap.SOAPElementgetChildElements in class org.apache.axis.message.MessageElementpublic java.util.Iterator getChildElements(javax.xml.soap.Name name)
getChildElements in interface javax.xml.soap.SOAPElementgetChildElements in class org.apache.axis.message.MessageElementname - -
a Name object with the name of the child elements to be
returned
public void removeChild(org.apache.axis.message.MessageElement child)
child - MessageElementpublic void setSAAJEncodingCompliance(boolean comply)
comply - booleanpublic org.xml.sax.Attributes getCompleteAttributes()
getCompleteAttributes in class org.apache.axis.message.MessageElement
public javax.xml.soap.SOAPBodyElement addDocument(org.w3c.dom.Document aDoc)
throws javax.xml.soap.SOAPException
addDocument in interface javax.xml.soap.SOAPBodyaDoc - org.w3c.dom.Document
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name aName,
java.lang.String aFault)
throws javax.xml.soap.SOAPException
addFault in interface javax.xml.soap.SOAPBodyaName - NameaFault - String
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name aName,
java.lang.String aFault,
java.util.Locale aLocale)
throws javax.xml.soap.SOAPException
addFault in interface javax.xml.soap.SOAPBodyaName - NameaFault - StringaLocale - Locale
javax.xml.soap.SOAPExceptionpublic java.lang.Object getUserData(java.lang.String key)
getUserData in interface org.w3c.dom.Nodekey - String
public java.lang.Object setUserData(java.lang.String key,
java.lang.Object data,
org.w3c.dom.UserDataHandler handler)
setUserData in interface org.w3c.dom.Nodekey - Stringdata - Objecthandler - UserDataHandler
public java.lang.Object getFeature(java.lang.String feature,
java.lang.String version)
getFeature in interface org.w3c.dom.Nodefeature - Stringversion - String
public boolean isEqualNode(org.w3c.dom.Node arg)
isEqualNode in interface org.w3c.dom.Nodearg - Node
falsepublic java.lang.String lookupNamespaceURI(java.lang.String prefix)
lookupNamespaceURI in interface org.w3c.dom.Nodeprefix - String
nullpublic boolean isDefaultNamespace(java.lang.String namespaceURI)
isDefaultNamespace in interface org.w3c.dom.NodenamespaceURI - String
falsepublic java.lang.String lookupPrefix(java.lang.String namespaceURI)
lookupPrefix in interface org.w3c.dom.NodenamespaceURI - String
nullpublic boolean isSameNode(org.w3c.dom.Node other)
isSameNode in interface org.w3c.dom.Nodeother - Node
false
public void setTextContent(java.lang.String textContent)
throws org.w3c.dom.DOMException
setTextContent in interface org.w3c.dom.NodetextContent - String
org.w3c.dom.DOMException
public java.lang.String getTextContent()
throws org.w3c.dom.DOMException
getTextContent in interface org.w3c.dom.Nodenull
org.w3c.dom.DOMException
public short compareDocumentPosition(org.w3c.dom.Node other)
throws org.w3c.dom.DOMException
compareDocumentPosition in interface org.w3c.dom.Nodeother - Node
org.w3c.dom.DOMExceptionpublic java.lang.String getBaseURI()
getBaseURI in interface org.w3c.dom.Nodenull
public void setIdAttributeNode(org.w3c.dom.Attr idAttr,
boolean isId)
throws org.w3c.dom.DOMException
setIdAttributeNode in interface org.w3c.dom.ElementidAttr - AttrisId - boolean
org.w3c.dom.DOMException
public void setIdAttributeNS(java.lang.String namespaceURI,
java.lang.String localName,
boolean isId)
throws org.w3c.dom.DOMException
setIdAttributeNS in interface org.w3c.dom.ElementnamespaceURI - StringlocalName - StringisId - boolean
org.w3c.dom.DOMException
public void setIdAttribute(java.lang.String name,
boolean isId)
throws org.w3c.dom.DOMException
setIdAttribute in interface org.w3c.dom.Elementname - StringisId - boolean
org.w3c.dom.DOMExceptionpublic org.w3c.dom.TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface org.w3c.dom.Elementnull
public org.w3c.dom.Document extractContentAsDocument()
throws javax.xml.soap.SOAPException
extractContentAsDocument in interface javax.xml.soap.SOAPBodynull
javax.xml.soap.SOAPExceptionpublic javax.xml.soap.SOAPBodyElement addBodyElement(javax.xml.namespace.QName qName)
addBodyElement in interface javax.xml.soap.SOAPBodyqName -
null
public javax.xml.soap.SOAPFault addFault(javax.xml.namespace.QName qName,
java.lang.String nFault)
addFault in interface javax.xml.soap.SOAPBodyqName - qFault -
public javax.xml.soap.SOAPFault addFault(javax.xml.namespace.QName qName,
java.lang.String nFault,
java.util.Locale locale)
addFault in interface javax.xml.soap.SOAPBodyqName - qFault - locale - public boolean removeAttribute(javax.xml.namespace.QName qName)
removeAttribute in interface javax.xml.soap.SOAPElementname -
false
public javax.xml.soap.SOAPElement setElementQName(javax.xml.namespace.QName newName)
throws javax.xml.soap.SOAPException
setElementQName in interface javax.xml.soap.SOAPElementname -
null
javax.xml.soap.SOAPExceptionpublic javax.xml.namespace.QName getElementQName()
getElementQName in interface javax.xml.soap.SOAPElementnull
public javax.xml.namespace.QName createQName(java.lang.String localName,
java.lang.String prefix)
throws javax.xml.soap.SOAPException
createQName in interface javax.xml.soap.SOAPElementlocalName - prefix -
null
javax.xml.soap.SOAPExceptionpublic java.util.Iterator getAllAttributesAsQNames()
getAllAttributesAsQNames in interface javax.xml.soap.SOAPElementnullpublic java.lang.String getAttributeValue(javax.xml.namespace.QName qName)
getAttributeValue in interface javax.xml.soap.SOAPElementqName -
null
public javax.xml.soap.SOAPElement addAttribute(javax.xml.namespace.QName qName,
java.lang.String val)
addAttribute in interface javax.xml.soap.SOAPElementqName - val -
null
public javax.xml.soap.SOAPElement addChildElement(java.lang.String localName,
java.lang.String prefix,
java.lang.String uri)
throws javax.xml.soap.SOAPException
addChildElement in interface javax.xml.soap.SOAPElementaddChildElement in class org.apache.axis.message.MessageElementlocalName - prefix - uri -
null
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPElement addChildElement(javax.xml.namespace.QName qName)
throws javax.xml.soap.SOAPException
addChildElement in interface javax.xml.soap.SOAPElementqName -
null
javax.xml.soap.SOAPExceptionpublic boolean equals(java.lang.Object o)
equals in class org.apache.axis.message.MessageElementpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||