org.shapelogic.polygon
Class SVGReader

java.lang.Object
  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, InContexts, LazyCalc<Polygon>, 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
_contexts, _current, _dirty, _last, _list, _maxLast, _name, _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, getContext, getContexts, getCurrentSize, getInContext, getIndex, getLast, getList, getMaxLast, getName, hasNext, hasNextBase, isCached, isContextBased, isDeterministic, isDirty, isRandomAccess, iterator, next, remove, setList, setMaxLast, 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 © 2008. All Rights Reserved.