public final class XMLValue extends java.lang.Object implements IXMLValue
MODEL_ID
Constructor and Description |
---|
XMLValue(java.io.DataInputStream stream)
factory constructor
|
XMLValue(javax.xml.namespace.QName type, java.lang.String value)
constructor - simple type
|
XMLValue(javax.xml.namespace.QName type, XmlObject xmlObj, boolean element)
constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSimpleType()
returns true if this is a simple type, false for complex types or elements.
|
boolean |
isType()
returns true if this is a type (complex or simple), false if an element.
|
java.lang.String |
modelID()
returns the identifier of the debug model
|
java.lang.String |
stringValue()
returns the value for simple types
|
java.lang.String |
toString()
to string
|
java.lang.String |
type()
returns the type of this value.
|
void |
write(java.io.DataOutputStream stream)
writes the string
|
javax.xml.namespace.QName |
xmlType()
returns the QName of this XML Schema definition
|
XmlObject |
xmlValue()
returns the value for complex types or elements
|
public XMLValue(javax.xml.namespace.QName type, java.lang.String value)
public XMLValue(javax.xml.namespace.QName type, XmlObject xmlObj, boolean element)
public XMLValue(java.io.DataInputStream stream) throws java.io.IOException, InvalidValueException
java.io.IOException
InvalidValueException
public javax.xml.namespace.QName xmlType()
public boolean isType()
public boolean isSimpleType()
isSimpleType
in interface IXMLValue
public java.lang.String stringValue()
stringValue
in interface IXMLValue
public XmlObject xmlValue()
public java.lang.String type()
public java.lang.String modelID()
modelID
in interface IModelExtension
public java.lang.String toString()
public void write(java.io.DataOutputStream stream) throws java.io.IOException
java.io.IOException