ilog.cpl.graphic.views
Class IlpSlotSizesSAXInfo.IlpSAXSlotSizesHandler

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.IlpSlotSizesSAXInfo.IlpSAXSlotSizesHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Enclosing class:
IlpSlotSizesSAXInfo

public static class IlpSlotSizesSAXInfo.IlpSAXSlotSizesHandler
extends IlpSAXAttributeValueHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class ilog.cpl.storage.IlpSAXAttributeValueHandler
IlpSAXAttributeValueHandler.ResultHandler
 
Field Summary
protected  IlpSAXArrayHandler arrayHandler
           
protected  int[] heights
           
protected  boolean inHeight
           
protected  boolean inWidth
           
protected  int[] widths
           
 
Constructor Summary
IlpSlotSizesSAXInfo.IlpSAXSlotSizesHandler()
           
 
Method Summary
 void endElement(String namespaceURI, String localName, String qName)
          Notifies the end of an element.
protected  Object getAttributeValue()
          This method is called at the end of the "attribute" element.
 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

widths

protected int[] widths

heights

protected int[] heights

inWidth

protected boolean inWidth

inHeight

protected boolean inHeight

arrayHandler

protected IlpSAXArrayHandler arrayHandler
Constructor Detail

IlpSlotSizesSAXInfo.IlpSAXSlotSizesHandler

public IlpSlotSizesSAXInfo.IlpSAXSlotSizesHandler()
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 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
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 the parsing continues.

Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class IlpSAXAttributeValueHandler
Throws:
SAXException
Internal method or field: do not use!

getAttributeValue

protected Object getAttributeValue()
This method 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.