ilog.cpl.graphic
Class IlpRectSAXInfo.IlpSAXRectHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by ilog.cpl.storage.IlpAbstractSAXHandler
          extended by ilog.cpl.storage.IlpAbstractChainedSAXHandler
              extended by ilog.cpl.storage.IlpSAXAttributeValueHandler
                  extended by ilog.cpl.graphic.IlpPointSAXInfo.IlpSAXPointHandler
                      extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from class ilog.cpl.storage.IlpSAXAttributeValueHandler
IlpSAXAttributeValueHandler.ResultHandler
 
Field Summary
protected  float height
           
protected  float width
           
 
Fields inherited from class ilog.cpl.graphic.IlpPointSAXInfo.IlpSAXPointHandler
x, y
 
Constructor Summary
IlpRectSAXInfo.IlpSAXRectHandler()
           
 
Method Summary
 void endElement(String namespaceURI, String localName, String qName)
          Notifies the end of an element.
protected  Object getAttributeValue()
          Converts the content to the IlpAttribute value class by default, using the type converter.
 void startElement(String namespaceURI, String localName, String qName, Attributes atts)
          Notifies the beginning of an element.
 
Methods inherited from class ilog.cpl.storage.IlpSAXAttributeValueHandler
getFinalTag, getResultHandler, getTargetClass, getTypeConverter, isNull, readValue
 
Methods inherited from class ilog.cpl.storage.IlpAbstractChainedSAXHandler
getLocator, getLogger, getParent, getXMLReader, setParent
 
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
 

Field Detail

width

protected float width

height

protected float height
Constructor Detail

IlpRectSAXInfo.IlpSAXRectHandler

public IlpRectSAXInfo.IlpSAXRectHandler()
Method Detail

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.