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 IlpSAXSerializablepublic 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 IlpSAXSerializablevalue - 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.SAXExceptionIlpTypeConverter.createStringValue(Class,Object)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.