ilog.cpl.graphic
Class IlpPointSAXInfo.IlpSAXPointHandler

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
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Direct Known Subclasses:
IlpRectSAXInfo.IlpSAXRectHandler, IlpRelativePointSAXInfo.IlpSAXRelativePointHandler
Enclosing class:
IlpPointSAXInfo

public static class IlpPointSAXInfo.IlpSAXPointHandler
extends IlpSAXAttributeValueHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class ilog.cpl.storage.IlpSAXAttributeValueHandler
IlpSAXAttributeValueHandler.ResultHandler
 
Field Summary
protected  float x
           
protected  float y
           
 
Constructor Summary
IlpPointSAXInfo.IlpSAXPointHandler()
           
 
Method Summary
 void endElement(String namespaceURI, String localName, String qName)
          Indicates the end of an element.
protected  Object getAttributeValue()
          Is called at the end of the attribute element.
 void startElement(String namespaceURI, String localName, String qName, Attributes atts)
          Indicates 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

x

protected float x

y

protected float y
Constructor Detail

IlpPointSAXInfo.IlpSAXPointHandler

public IlpPointSAXInfo.IlpSAXPointHandler()
Method Detail

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qName,
                         Attributes atts)
                  throws SAXException
Indicates the beginning of an element. By default, this method only clears the content of the element.

Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class IlpSAXAttributeValueHandler
Throws:
SAXException

endElement

public void endElement(String namespaceURI,
                       String localName,
                       String qName)
                throws SAXException
Indicates 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 IlpSAXAttributeValueHandler
Throws:
SAXException

getAttributeValue

protected Object getAttributeValue()
Is called at the end of the attribute element. By default, it converts the content to the IlpAttribute value class using the type converter.

Overrides:
getAttributeValue in class IlpSAXAttributeValueHandler


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.