public class QNameValue extends ParameterDefinition
ParameterValue.ParameterPath| Modifier and Type | Field and Description |
|---|---|
protected QName |
value |
attributes, children, EMPTY_CACHE, instanceType, max, min, name, nil, overwrite, pvLock, type, uniqueIdForAttachmentDisposal| Constructor and Description |
|---|
QNameValue(QName value) |
| Modifier and Type | Method and Description |
|---|---|
QName |
get()
Returns the value of this parameter value.
|
List |
getNamespaces()
Returns the namespaces used by this parameter value.
|
java.lang.String |
getValueAsString() |
int |
getValueType()
Returns the VALUE TYPE for this parameter.
|
void |
set(QName value)
Sets the value of this parameter value.
|
java.lang.String |
toString() |
add, add, addAnyAttribute, attributeNames, attributes, children, childrenFromType, createChild, createChild, disposeAllAttachments, exclusiveLock, get, get, getAttributeValue, getChildren, getChildrenCount, getChildrenCount, getChildrenList, getInstanceType, getLockObject, getMaxOccurs, getMinOccurs, getName, getNamespaceCache, getOverwritten, getType, hasAttributes, hasChildren, hasChildrenFromType, isNil, isOverwritten, overwriteSerialization, releaseExclusiveLock, releaseSharedLock, remove, removeChild, resolveTypes, setAttributes, setAttributeValue, setInstanceType, setMaxOccurs, setMinOccurs, setName, setNil, setType, sharedLock, tryExclusiveLock, trySharedLockprotected QName value
public QNameValue(QName value)
public QName get()
public void set(QName value)
value - the value to set.public int getValueType()
ParameterValue
A VALUE TYPE should be a unique representation of a ParameterValue implementation
which allows to identify the implementation and cast correctly.
getValueType in class ParameterDefinitionpublic java.lang.String toString()
toString in class ParameterDefinitionpublic java.lang.String getValueAsString()
getValueAsString in class ParameterDefinitionpublic List getNamespaces()
ParameterValue
This method allows to collect all namespaces and use it if necessary.
getNamespaces in class ParameterValueList of QName.