public class IlpRectSAXInfo extends Object implements IlpSAXSerializable
IlpRect
.
This class reads and writes the following format:
<x>FFF</x> <y>FFF</y> <width>FFF</width> <height>FFF</height>
Where FFF stands for a floating number (a double). The order between the 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 |
IlpRectSAXInfo.IlpSAXRectHandler
The SAX handler
|
EMPTY_ATTRS
Constructor and Description |
---|
IlpRectSAXInfo() |
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)
Outputs the
value to an SAX ContentHandler. |
public IlpSAXAttributeValueHandler getSAXHandler()
getSAXHandler
in interface IlpSAXSerializable
public void output(Object value, IlpTypeConverter typeConverter, ContentHandler outputHandler) throws SAXException
value
to an SAX ContentHandler.
The method translates the object as SAX ContentHandler method calls.output
in interface IlpSAXSerializable
value
- The object to output.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.