public class IlpPointSAXInfo extends Object implements IlpSAXSerializable
XML Serialization class for IlpPoint
.
This class reads and writes an IlpPoint
in the following format:
<x>FFF</x> <y>FFF</y>
Where FFF stands for a floating number (a double). The order between <x> and <y> elements is not taken into account.
If an element is missing, it is considered as being 0.0
.
Modifier and Type | Class and Description |
---|---|
static class |
IlpPointSAXInfo.IlpSAXPointHandler
The SAX handler
|
EMPTY_ATTRS
Constructor and Description |
---|
IlpPointSAXInfo() |
Modifier and Type | Method and Description |
---|---|
IlpSAXAttributeValueHandler |
getSAXHandler()
Returns a SAX handler capable of reading the attribute.
|
void |
output(Object value,
IlpTypeConverter typeConverter,
ContentHandler outputHandler)
Writes the
value to a SAX ContentHandler. |
public IlpSAXAttributeValueHandler getSAXHandler()
getSAXHandler
in interface IlpSAXSerializable
public void output(Object value, IlpTypeConverter typeConverter, ContentHandler outputHandler) throws SAXException
value
to a SAX ContentHandler.
The method translates the object to SAX ContentHandler method calls.output
in interface IlpSAXSerializable
value
- The object to write.typeConverter
- The type converter that may be needed to translate
values to strings.outputHandler
- The SAX ContentHandler used by this method.SAXException
IlpTypeConverter.createStringValue(Class,Object)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.