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.IlpSAXRectHandlerEMPTY_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 IlpSAXSerializablegetSAXHandler in class IlpRectSAXInfopublic 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 IlpSAXSerializableoutput in class IlpRectSAXInfovalue - 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.SAXExceptionIlpTypeConverter.createStringValue(Class,Object)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.