ilog.cpl.graphic.views
Class IlpPolyPointsSAXInfo.IlpSAXPolyPointsHandler

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.views.IlpPolyPointsSAXInfo.IlpSAXPolyPointsHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Direct Known Subclasses:
IlpPolygonSAXInfo.IlpSAXPolygonHandler, IlpPolylineSAXInfo.IlpSAXPolylineHandler
Enclosing class:
IlpPolyPointsSAXInfo

public abstract static class IlpPolyPointsSAXInfo.IlpSAXPolyPointsHandler
extends IlpSAXAttributeValueHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class ilog.cpl.storage.IlpSAXAttributeValueHandler
IlpSAXAttributeValueHandler.ResultHandler
 
Field Summary
protected  List points
           
protected  float x
           
protected  float y
           
 
Constructor Summary
IlpPolyPointsSAXInfo.IlpSAXPolyPointsHandler()
           
 
Method Summary
 void endElement(String namespaceURI, String localName, String qName)
          Indicates the end of an element.
protected abstract  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
Internal method or field: do not use!

y

protected float y
Internal method or field: do not use!

points

protected List points
Internal method or field: do not use!
Constructor Detail

IlpPolyPointsSAXInfo.IlpSAXPolyPointsHandler

public IlpPolyPointsSAXInfo.IlpSAXPolyPointsHandler()
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
Internal method or field: do not use!

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
Internal method or field: do not use!

getAttributeValue

protected abstract 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
Internal method or field: do not use!


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