|
|||||||||||
| 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 |
| Constructor Summary | |
|---|---|
SOAPBodyOutputNS(String namespace,
String localPart,
String prefix,
Attributes attributes,
org.apache.axis.encoding.DeserializationContext context,
org.apache.axis.soap.SOAPConstants soapConsts)
Class constructor |
|
| Method Summary | |
|---|---|
javax.xml.soap.SOAPElement |
addAttribute(QName qName,
String val)
not used |
javax.xml.soap.SOAPBodyElement |
addBodyElement(javax.xml.soap.Name name)
adds a new SOAPBodyElement |
javax.xml.soap.SOAPBodyElement |
addBodyElement(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(QName qName)
not used |
javax.xml.soap.SOAPElement |
addChildElement(String localName,
String prefix,
String uri)
not used |
javax.xml.soap.SOAPBodyElement |
addDocument(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,
String aFault)
not used |
javax.xml.soap.SOAPFault |
addFault(javax.xml.soap.Name aName,
String aFault,
Locale aLocale)
not used |
javax.xml.soap.SOAPFault |
addFault(QName qName,
String nFault)
not used |
javax.xml.soap.SOAPFault |
addFault(QName qName,
String nFault,
Locale locale)
not used |
short |
compareDocumentPosition(Node other)
not used |
QName |
createQName(String localName,
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(Object o)
|
Document |
extractContentAsDocument()
not used |
protected org.apache.axis.message.MessageElement |
findElement(Vector vec,
String namespace,
String localPart)
Finds SOAPBodyElement |
Iterator |
getAllAttributesAsQNames()
not used |
String |
getAttributeValue(QName qName)
not used |
String |
getBaseURI()
not used |
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. |
Iterator |
getChildElements(javax.xml.soap.Name name)
Returns an iterator over all the child elements with the specified name. |
Attributes |
getCompleteAttributes()
Obtain an Attributes collection consisting of all attributes for this MessageElement, including namespace declarations. |
QName |
getElementQName()
not used |
javax.xml.soap.SOAPFault |
getFault()
Retrieves SOAPFault. |
Object |
getFeature(String feature,
String version)
not used |
TypeInfo |
getSchemaTypeInfo()
not used |
String |
getTextContent()
not used |
Object |
getUserData(String key)
not used |
boolean |
hasFault()
Indicates whether a SOAPFault object exists in this SOAPBody object. |
int |
hashCode()
|
boolean |
isDefaultNamespace(String namespaceURI)
not used |
boolean |
isEqualNode(Node arg)
not used |
boolean |
isSameNode(Node other)
not used |
String |
lookupNamespaceURI(String prefix)
not used |
String |
lookupPrefix(String namespaceURI)
not used |
protected void |
outputImpl(org.apache.axis.encoding.SerializationContext context)
override point -output to a serialization context. |
boolean |
removeAttribute(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(QName newName)
not used |
void |
setEncodingStyle(String encodingStyle)
Sets the encoding style for this SOAPElement object to one specified. |
void |
setIdAttribute(String name,
boolean isId)
not used |
void |
setIdAttributeNode(Attr idAttr,
boolean isId)
not used |
void |
setIdAttributeNS(String namespaceURI,
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(String textContent)
not used |
Object |
setUserData(String key,
Object data,
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(String namespace,
String localPart,
String prefix,
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
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(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
IllegalArgumentException - when the encoding style is not recognized
protected void outputImpl(org.apache.axis.encoding.SerializationContext context)
throws Exception
outputImpl in class org.apache.axis.message.MessageElementcontext - SerializationContext is destination
Exception - if something went wrong.
protected org.apache.axis.message.MessageElement findElement(Vector vec,
String namespace,
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 Iterator getChildElements()
getChildElements in interface javax.xml.soap.SOAPElementgetChildElements in class org.apache.axis.message.MessageElementpublic 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 Attributes getCompleteAttributes()
getCompleteAttributes in class org.apache.axis.message.MessageElement
public javax.xml.soap.SOAPBodyElement addDocument(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,
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,
String aFault,
Locale aLocale)
throws javax.xml.soap.SOAPException
addFault in interface javax.xml.soap.SOAPBodyaName - NameaFault - StringaLocale - Locale
javax.xml.soap.SOAPExceptionpublic Object getUserData(String key)
getUserData in interface Nodekey - String
public Object setUserData(String key,
Object data,
UserDataHandler handler)
setUserData in interface Nodekey - Stringdata - Objecthandler - UserDataHandler
public Object getFeature(String feature,
String version)
getFeature in interface Nodefeature - Stringversion - String
public boolean isEqualNode(Node arg)
isEqualNode in interface Nodearg - Node
falsepublic String lookupNamespaceURI(String prefix)
lookupNamespaceURI in interface Nodeprefix - String
nullpublic boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace in interface NodenamespaceURI - String
falsepublic String lookupPrefix(String namespaceURI)
lookupPrefix in interface NodenamespaceURI - String
nullpublic boolean isSameNode(Node other)
isSameNode in interface Nodeother - Node
false
public void setTextContent(String textContent)
throws DOMException
setTextContent in interface NodetextContent - String
DOMException
public String getTextContent()
throws DOMException
getTextContent in interface Nodenull
DOMException
public short compareDocumentPosition(Node other)
throws DOMException
compareDocumentPosition in interface Nodeother - Node
DOMExceptionpublic String getBaseURI()
getBaseURI in interface Nodenull
public void setIdAttributeNode(Attr idAttr,
boolean isId)
throws DOMException
setIdAttributeNode in interface ElementidAttr - AttrisId - boolean
DOMException
public void setIdAttributeNS(String namespaceURI,
String localName,
boolean isId)
throws DOMException
setIdAttributeNS in interface ElementnamespaceURI - StringlocalName - StringisId - boolean
DOMException
public void setIdAttribute(String name,
boolean isId)
throws DOMException
setIdAttribute in interface Elementname - StringisId - boolean
DOMExceptionpublic TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface Elementnull
public Document extractContentAsDocument()
throws javax.xml.soap.SOAPException
extractContentAsDocument in interface javax.xml.soap.SOAPBodynull
javax.xml.soap.SOAPExceptionpublic javax.xml.soap.SOAPBodyElement addBodyElement(QName qName)
addBodyElement in interface javax.xml.soap.SOAPBodyqName -
null
public javax.xml.soap.SOAPFault addFault(QName qName,
String nFault)
addFault in interface javax.xml.soap.SOAPBodyqName - qFault -
public javax.xml.soap.SOAPFault addFault(QName qName,
String nFault,
Locale locale)
addFault in interface javax.xml.soap.SOAPBodyqName - qFault - locale - public boolean removeAttribute(QName qName)
removeAttribute in interface javax.xml.soap.SOAPElementname -
false
public javax.xml.soap.SOAPElement setElementQName(QName newName)
throws javax.xml.soap.SOAPException
setElementQName in interface javax.xml.soap.SOAPElementname -
null
javax.xml.soap.SOAPExceptionpublic QName getElementQName()
getElementQName in interface javax.xml.soap.SOAPElementnull
public QName createQName(String localName,
String prefix)
throws javax.xml.soap.SOAPException
createQName in interface javax.xml.soap.SOAPElementlocalName - prefix -
null
javax.xml.soap.SOAPExceptionpublic Iterator getAllAttributesAsQNames()
getAllAttributesAsQNames in interface javax.xml.soap.SOAPElementnullpublic String getAttributeValue(QName qName)
getAttributeValue in interface javax.xml.soap.SOAPElementqName -
null
public javax.xml.soap.SOAPElement addAttribute(QName qName,
String val)
addAttribute in interface javax.xml.soap.SOAPElementqName - val -
null
public javax.xml.soap.SOAPElement addChildElement(String localName,
String prefix,
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(QName qName)
throws javax.xml.soap.SOAPException
addChildElement in interface javax.xml.soap.SOAPElementqName -
null
javax.xml.soap.SOAPExceptionpublic boolean equals(Object o)
equals in class org.apache.axis.message.MessageElementpublic int hashCode()
hashCode in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||