public class IlpRelativeRectSAXInfo extends IlpRectSAXInfo
XML serialization class for IlpRelativeRect
.
This class reads and writes an IlpRelativeRect
in 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 |
IlpRelativeRectSAXInfo.IlpSAXRelativeRectHandler |
IlpRectSAXInfo.IlpSAXRectHandler
EMPTY_ATTRS
Constructor and Description |
---|
IlpRelativeRectSAXInfo() |
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
getSAXHandler
in class IlpRectSAXInfo
public void output(Object value, IlpTypeConverter typeConverter, ContentHandler outputHandler) throws SAXException
value
to a SAX ContentHandler.
This method translates the object to SAX ContentHandler method calls.output
in interface IlpSAXSerializable
output
in class IlpRectSAXInfo
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.