public class IltShelfItemPositionSAXInfo extends Object implements IlpSAXSerializable
XML Serialization class for IltShelfItem
.
This class lets you read and write the following format:
<xIndex>NNN</xIndex> <xSpan>FFF</xSpan> <yIndex>NNN</yIndex> <ySpan>FFF</xSpan>
Where NNN stands for an integer and FFF stands for a floating number (a float).
The order between the elements is not taken into account.
If an index is missing, it is considered as being 0.
If a span is missing, it is considered as being 1.0.
EMPTY_ATTRS
Constructor and Description |
---|
IltShelfItemPositionSAXInfo() |
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()
IlpSAXSerializable
getSAXHandler
in interface IlpSAXSerializable
public void output(Object value, IlpTypeConverter typeConverter, ContentHandler outputHandler) throws SAXException
IlpSAXSerializable
value
to an SAX ContentHandler
.
The method translates the object as SAX ContentHandler
method calls.output
in interface IlpSAXSerializable
value
- The object to outputtypeConverter
- 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 Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.