public class WsdlParamInfo extends ParamInfo
Constructor and Description |
---|
WsdlParamInfo()
Creates a new instance of WsdlParamInfo.
|
WsdlParamInfo(java.lang.String thisName)
Creates a new instance of WsdlParamInfo.
|
WsdlParamInfo(java.lang.String thisName,
java.lang.Object valueObj)
Creates a new instance of WsdlParamInfo.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addChildElement(WsdlParamInfo thisChildElement)
Add a child element to the list of child elements.
|
void |
clearChildElements()
Clear the child elements list.
|
java.lang.Object |
clone()
Get a clone of this object.
|
WsdlParamInfo |
cloneEmptyValue()
Get a clone of this object.
|
void |
fromElement(org.licas_xml.abs.Element rootElem)
Set the values in this ParamInfo object from the XML-based description.
|
WsdlParamInfo |
getChildElement(java.lang.String paramName)
Get the child element with the specified name.
|
java.util.ArrayList<WsdlParamInfo> |
getChildElements()
Get the list of child elements.
|
java.lang.String |
getDocumentation()
Get the service documentation.
|
java.lang.String |
getElement()
Get the element name.
|
java.lang.String |
getInOut()
Get the value describing in an input or output parameter.
|
java.lang.String |
getNamespace()
Get the parameter namespace.
|
java.lang.String |
getTypeElement()
This represents a simple or a complex parameter type.
|
boolean |
hasChildren()
Return true if this param info object has child elements.
|
boolean |
removeChildElement(java.lang.String paramName)
Remove the child element with the specified name.
|
void |
setDocumentation(java.lang.String theDocumentation)
Set the description of the service.
|
void |
setElement(java.lang.String thisElement)
Set the element name.
|
void |
setInOut(java.lang.String thisInOut)
Set the value describing if an input or output parameter.
|
void |
setNamespace(java.lang.String thisNamespace)
Set the parameter namespace.
|
java.lang.String |
toDisplayString(java.lang.String indent)
Get a String-based description of this object that can be displayed.
|
org.licas_xml.abs.Element |
toElement()
Convert the parameter description to an xml element.
|
java.lang.String |
ToString()
Get a String description of this object.
|
public WsdlParamInfo()
public WsdlParamInfo(java.lang.String thisName)
thisName
- the parameter name.public WsdlParamInfo(java.lang.String thisName, java.lang.Object valueObj)
thisName
- the parameter name.valueObj
- a value to add to values.public boolean hasChildren()
public void setDocumentation(java.lang.String theDocumentation)
theDocumentation
- the service documentation.public java.lang.String getDocumentation()
public void setInOut(java.lang.String thisInOut)
thisInOut
- the input/output parameter value.public java.lang.String getInOut()
public void setElement(java.lang.String thisElement)
thisElement
- the element name.public java.lang.String getElement()
public java.lang.String getTypeElement()
public void setNamespace(java.lang.String thisNamespace)
thisNamespace
- the namespace for the parameter.public java.lang.String getNamespace()
public void clearChildElements()
public boolean addChildElement(WsdlParamInfo thisChildElement)
thisChildElement
- the element to add.public java.util.ArrayList<WsdlParamInfo> getChildElements()
public WsdlParamInfo getChildElement(java.lang.String paramName)
paramName
- the parameter name.public boolean removeChildElement(java.lang.String paramName)
paramName
- the parameter name.public org.licas_xml.abs.Element toElement() throws java.lang.Exception
public void fromElement(org.licas_xml.abs.Element rootElem) throws java.lang.Exception
fromElement
in class ParamInfo
rootElem
- the root element with the specific parameter values.java.lang.Exception
- any error.public java.lang.String toDisplayString(java.lang.String indent)
indent
- indentation for formatting purposes.public java.lang.String ToString()
public WsdlParamInfo cloneEmptyValue()