ilog.cpl.graphic
Class IlpRectSAXInfo.IlpSAXRectHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
ilog.cpl.storage.IlpAbstractSAXHandler
ilog.cpl.storage.IlpAbstractChainedSAXHandler
ilog.cpl.storage.IlpSAXAttributeValueHandler
ilog.cpl.graphic.IlpPointSAXInfo.IlpSAXPointHandler
ilog.cpl.graphic.IlpRectSAXInfo.IlpSAXRectHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Direct Known Subclasses:
- IlpRelativeRectSAXInfo.IlpSAXRelativeRectHandler
- Enclosing class:
- IlpRectSAXInfo
public static class IlpRectSAXInfo.IlpSAXRectHandler
- extends IlpPointSAXInfo.IlpSAXPointHandler
|
Field Summary |
protected float |
height
|
protected float |
width
|
| Methods inherited from class ilog.cpl.storage.IlpAbstractSAXHandler |
characters, checkState, clearContent, clearState, error, fatalError, getContent, getState, ignoreUntil, log, logIgnoreElement, processSAXParseException, removeState, setState, throwSAXParseException, warning |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
width
protected float width
height
protected float height
IlpRectSAXInfo.IlpSAXRectHandler
public IlpRectSAXInfo.IlpSAXRectHandler()
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
- Notifies the beginning of an element.
By default, this method clears the content of the element only.
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class IlpPointSAXInfo.IlpSAXPointHandler
- Throws:
SAXException
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
- Notifies the end of an element.
When this method is called for the
attribute element,
the getAttributeValue method is called, the object is modified
accordingly, and parsing continues.
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class IlpPointSAXInfo.IlpSAXPointHandler
- Throws:
SAXException
getAttributeValue
protected Object getAttributeValue()
- Converts the content to the
IlpAttribute value class
by default, using the type converter.
This method is called at the end of the attribute element.
- Overrides:
getAttributeValue in class IlpPointSAXInfo.IlpSAXPointHandler
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.