XML simple values
Gosu uses the gw.xml.XmlSimpleValue type to represent the XML format of simple
values. An XmlSimpleValue object stores a value and provides the
logic to serialize that value into XML. Until serialization occurs, Gosu may internally
store the value in a format other than java.lang.String.
For example, XML represents hexadecimal-encoded binary data using the
xsd:hexBinary type, representing such values with an
XmlSimpleValue object whose backing storage is a
byte[] array. Gosu converts the byte array to hexadecimal digits
when it serializes the XML element.
The following properties are provided
by XmlSimpleValue:
- GosuValueType
- The
ITypeof the Gosu value - GosuValue
- The type-specific Gosu value, such as a
javax.xml.namespace.QNamefor anxsd:QName - StringValue
- A
Stringrepresentation of the simple value, such as for aQName, which might not be the string that is actually serialized
See also
