public class RPCParam extends MessageElement implements Serializable
MessageElement.QNameAttr
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
_isRoot, context, encodingStyle, endEventIndex, fixupDeserializer, href, id, message, namespaces, qNameAttrs, recorder, startContentsIndex, startEventIndex, typeQName
_isDirty, attributes, children, document, name, namespaceURI, parent, prefix, textRep
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 and Description |
---|
RPCParam(QName qname,
Object value) |
RPCParam(String name,
Object value)
Constructor for building up messages.
|
RPCParam(String namespace,
String name,
Object value) |
Modifier and Type | Method and Description |
---|---|
SOAPElement |
addTextNode(String s)
add a text node to the document.
|
Object |
getObjectValue()
Returns value of the node as an object of registered type.
|
ParameterDesc |
getParamDesc() |
String |
getValue()
Get the value of the doc as a string.
|
static Method |
getValueSetMethod() |
Boolean |
getXSITypeGeneration() |
protected void |
outputImpl(SerializationContext context)
override point -output to a serialization context.
|
void |
serialize(SerializationContext context) |
void |
set(Object newValue)
This set method is registered during deserialization
to set the deserialized value.
|
void |
setObjectValue(Object value)
Sets value of this node to an Object.
|
void |
setParamDesc(ParameterDesc paramDesc) |
void |
setRPCCall(RPCElement call) |
void |
setValue(String value)
If 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.
|
void |
setXSITypeGeneration(Boolean value) |
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, toString
appendChild, convertAttrSAXtoDOM, detachNode, 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, setParentElement, setPrefix
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
detachNode, getParentElement, recycleNode, setParentElement
getSchemaTypeInfo, setIdAttribute, setIdAttributeNode, setIdAttributeNS
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
public void setRPCCall(RPCElement call)
public Object getObjectValue()
MessageElement
getObjectValue
in class MessageElement
public void setObjectValue(Object value)
MessageElement
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.
setObjectValue
in class MessageElement
value
- node's value or null.public void set(Object newValue)
newValue
- is the deserialized objectpublic static Method getValueSetMethod()
public ParameterDesc getParamDesc()
public void setParamDesc(ParameterDesc paramDesc)
public void setXSITypeGeneration(Boolean value)
public Boolean getXSITypeGeneration()
public void serialize(SerializationContext context) throws IOException
IOException
protected void outputImpl(SerializationContext context) throws Exception
MessageElement
outputImpl
in class MessageElement
context
- destination.Exception
- if something went wrong.public String getValue()
MessageElement
MessageElement.getAsDOM()
so is a heavyweight operation.getValue
in class MessageElement
;
public SOAPElement addTextNode(String s) throws SOAPException
MessageElement
addTextNode
in interface SOAPElement
addTextNode
in class MessageElement
s
- a String
object with the textual content to be addedSOAPException
- if there is an error in creating the
new Text
objectSOAPElement.addTextNode(java.lang.String)
public void setValue(String value)
NodeImpl
setValue
in class MessageElement
value
- the text to setNode.setValue(java.lang.String)
Copyright © The Apache Software Foundation. All Rights Reserved.