Package org.apache.axis.message
Class RPCParam
java.lang.Object
org.apache.axis.message.NodeImpl
org.apache.axis.message.MessageElement
org.apache.axis.message.RPCParam
- All Implemented Interfaces:
Serializable,Cloneable,Node,SOAPElement,Element,Node,NodeList
An RPC parameter
- Author:
- Glen Daniels (gdaniels@apache.org)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.axis.message.MessageElement
MessageElement.QNameAttr -
Field Summary
FieldsFields inherited from class org.apache.axis.message.MessageElement
_isRoot, context, encodingStyle, endEventIndex, fixupDeserializer, href, id, message, namespaces, qNameAttrs, recorder, startContentsIndex, startEventIndex, typeQNameFields inherited from class org.apache.axis.message.NodeImpl
_isDirty, attributes, children, document, name, namespaceURI, parent, prefix, textRepFields 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 -
Method Summary
Modifier and TypeMethodDescriptionadd a text node to the document.Returns value of the node as an object of registered type.getValue()Get the value of the doc as a string.static Methodprotected voidoutputImpl(SerializationContext context) override point -output to a serialization context.voidserialize(SerializationContext context) voidThis set method is registered during deserialization to set the deserialized value.voidsetObjectValue(Object value) Sets value of this node to an Object.voidsetParamDesc(ParameterDesc paramDesc) voidsetRPCCall(RPCElement call) voidIf this is a Text node then this method will set its value, otherwise it sets the value of the immediate (Text) child of this node.voidsetXSITypeGeneration(Boolean value) Methods inherited from class org.apache.axis.message.MessageElement
addAttribute, addAttribute, addAttribute, addAttribute, addChild, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addMapping, addNamespaceDeclaration, childDeepCloned, cloneNode, cloning, detachAllChildren, equals, findElement, getAllAttributes, getAsDocument, getAsDOM, getAsString, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributesEx, getAttributeValue, getAttributeValue, getChildElement, getChildElements, getChildElements, getChildElements, getChildren, getCompleteAttributes, getDeserializationContext, getElementName, getElementsByTagName, getElementsByTagNameNS, getElementsNS, getEncodingStyle, getEnvelope, getFixupDeserializer, getHref, getID, getLength, getName, getNamespacePrefixes, getNamespaceURI, getObjectValue, getOwnerDocument, getPrefix, getQName, getRealElement, getRecorder, getTagName, getType, getValueAsType, getValueAsType, getValueDOM, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, isRoot, item, output, publishContents, publishToHandler, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeContents, removeNamespaceDeclaration, setAllAttributes, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setContentsIndex, setEncodingStyle, setEndIndex, setEnvelope, setFixupDeserializer, setName, setNamespaceURI, setNSMappings, setQName, setRecorder, setType, toStringMethods inherited from class org.apache.axis.message.NodeImpl
appendChild, compareDocumentPosition, convertAttrSAXtoDOM, detachNode, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParent, getParentElement, getParentNode, getPrefix, getPreviousSibling, getSchemaTypeInfo, getTextContent, getUserData, hasAttributes, hasChildNodes, initializeChildren, insertBefore, isDefaultNamespace, isDirty, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, makeAttributesEditable, normalize, recycleNode, removeChild, replaceChild, reset, setDirty, setDirty, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setOwnerDocument, setParent, setParentElement, setPrefix, setTextContent, setUserDataMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.Element
getSchemaTypeInfo, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from interface javax.xml.soap.Node
detachNode, getParentElement, recycleNode, setParentElementMethods inherited from interface org.w3c.dom.Node
appendChild, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Field Details
-
log
protected static org.apache.commons.logging.Log log
-
-
Constructor Details
-
RPCParam
Constructor for building up messages. -
RPCParam
-
RPCParam
-
-
Method Details
-
setRPCCall
-
getObjectValue
Description copied from class:MessageElementReturns value of the node as an object of registered type.- Overrides:
getObjectValuein classMessageElement- Returns:
- Object of proper type, or null if no mapping could be found.
-
setObjectValue
Description copied from class:MessageElementSets value of this node to an Object. A serializer needs to be registered for this object class for proper operation.Note that this method will log an error and no-op if there are any children in the MessageElement or if the MessageElement was constructed from XML.
- Overrides:
setObjectValuein classMessageElement- Parameters:
value- node's value or null.
-
set
This set method is registered during deserialization to set the deserialized value. If the method is called multiple times, the value is automatically changed into a container to hold all of the values.- Parameters:
newValue- is the deserialized object
-
getValueSetMethod
-
getParamDesc
-
setParamDesc
-
setXSITypeGeneration
-
getXSITypeGeneration
-
serialize
- Throws:
IOException
-
outputImpl
Description copied from class:MessageElementoverride point -output to a serialization context.- Overrides:
outputImplin classMessageElement- Parameters:
context- destination.- Throws:
Exception- if something went wrong.
-
getValue
Description copied from class:MessageElementGet the value of the doc as a string. This usesMessageElement.getAsDOM()so is a heavyweight operation.- Specified by:
getValuein interfaceNode- Overrides:
getValuein classMessageElement- Returns:
- the value of any child node, or null if there is no node/something went wrong during serialization. If the first child is text, the return value is the text itself.
- See Also:
-
addTextNode
Description copied from class:MessageElementadd a text node to the document.- Specified by:
addTextNodein interfaceSOAPElement- Overrides:
addTextNodein classMessageElement- Parameters:
s- aStringobject with the textual content to be added- Returns:
- ourselves
- Throws:
SOAPException- if there is an error in creating the newTextobject- See Also:
-
setValue
Description copied from class:NodeImplIf this is a Text node then this method will set its value, otherwise it sets the value of the immediate (Text) child of this node. The value of the immediate child of this node can be set only if, there is one child node and that node is a Text node, or if there are no children in which case a child Text node will be created.- Specified by:
setValuein interfaceNode- Overrides:
setValuein classMessageElement- Parameters:
value- the text to set- See Also:
-