org.shapelogic.polygon
Class SVGReader

java.lang.Object
  extended by org.shapelogic.streams.BaseCommonStream<E>
      extended by org.shapelogic.streams.BaseListCommonStream<T>
          extended by org.shapelogic.streams.SingleListStream<Polygon>
              extended by org.shapelogic.polygon.SVGReader
All Implemented Interfaces:
java.lang.Iterable<Polygon>, java.util.Iterator<Polygon>, Calc0<Polygon>, CalcInvoke<Polygon>, CalcValue<Polygon>, ContextGettable, LazyCalc<Polygon>, RecursiveContext, ListStream<Polygon>, NumberedStream<Polygon>, Stream<Polygon>, StreamProperties

public class SVGReader
extends SingleListStream<Polygon>

Author:
Sami Badawi

Field Summary
 
Fields inherited from class org.shapelogic.streams.BaseListCommonStream
_list
 
Fields inherited from class org.shapelogic.streams.BaseCommonStream
_context, _current, _dirty, _last, _maxLast, _name, _nullLegalValue, _parentContext, _query, _value
 
Constructor Summary
SVGReader(java.lang.String fileName)
           
SVGReader(java.lang.String fileName, java.lang.String name)
           
 
Method Summary
 Polygon getPolygon()
           
 Polygon invoke()
           
static SVGReader makeInstance(java.lang.String fileName, java.lang.String name)
           
 
Methods inherited from class org.shapelogic.streams.SingleListStream
getValue, invokeIndex
 
Methods inherited from class org.shapelogic.streams.BaseListCommonStream
calcAddNext, get, getCurrentSize, getList, hasNext, hasNextBase, isCached, isRandomAccess, iterator, next, setLastFromInput, setList
 
Methods inherited from class org.shapelogic.streams.BaseCommonStream
getContext, getInContext, getIndex, getLast, getMaxLast, getName, getParentContext, isDeterministic, isDirty, isNullLegalValue, remove, setMaxLast, setNullLegalValue, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.shapelogic.streams.ListStream
getList, setList
 
Methods inherited from interface org.shapelogic.streams.NumberedStream
get, getIndex, getLast, getMaxLast, setMaxLast
 
Methods inherited from interface org.shapelogic.calculation.LazyCalc
isDirty, setup
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 
Methods inherited from interface java.lang.Iterable
iterator
 

Constructor Detail

SVGReader

public SVGReader(java.lang.String fileName,
                 java.lang.String name)

SVGReader

public SVGReader(java.lang.String fileName)
Method Detail

makeInstance

public static SVGReader makeInstance(java.lang.String fileName,
                                     java.lang.String name)

getPolygon

public Polygon getPolygon()
                   throws javax.xml.parsers.ParserConfigurationException
Throws:
javax.xml.parsers.ParserConfigurationException

invoke

public Polygon invoke()


Copyright © 2009. All Rights Reserved.