ilog.cpl.graphic.views
Class IlpShelfItemPositionSAXInfo
java.lang.Object
ilog.cpl.graphic.views.IlpShelfItemPositionSAXInfo
- All Implemented Interfaces:
- IlpSAXSerializable
public class IlpShelfItemPositionSAXInfo
- extends Object
- implements IlpSAXSerializable
XML serialization class for IlpShelfItemPosition.
This class reads and writes an IlpShelfItemPosition in
the following format:
III
III
FFF
FFF
where III stands for an integer number
(an int), and FFF stands for a
floating number (a float).
The order of the elements is not taken into account.
If xIndex or yIndex is missing,
the value of the missing element is considered as being 0; if
xSpan or ySpan is missing, the value of
the missing element is considered as being 1.0.
- Since:
- JTGO 3.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IlpShelfItemPositionSAXInfo
public IlpShelfItemPositionSAXInfo()
getSAXHandler
public IlpSAXAttributeValueHandler getSAXHandler()
- Returns a SAX handler capable of reading the attribute.
To avoid an instance of a SAX handler to be used simultaneously
by two concurrent threads, this method should either return a new
instance of a SAX handler each time it is called or take advantage of
the java.lang.ThreadLocal class to return a different instance for each thread.
- Specified by:
getSAXHandler in interface IlpSAXSerializable
- Returns:
- A handler for SAX events.
- Internal method or field: do not use!
output
public void output(Object value,
IlpTypeConverter typeConverter,
ContentHandler outputHandler)
throws SAXException
- Writes the
value to a SAX ContentHandler.
The method translates the object to SAX ContentHandler method calls.
- Specified by:
output in interface IlpSAXSerializable
- Parameters:
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.
- Throws:
SAXException- See Also:
IlpTypeConverter.createStringValue(Class,Object)- Internal method or field: do not use!
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.