net.sf.csutils.groovy.xml
Class XmlTemplateEngineStreamReader

java.lang.Object
  extended by net.sf.csutils.groovy.xml.XmlTemplateEngineStreamReader

public class XmlTemplateEngineStreamReader
extends Object


Nested Class Summary
static class XmlTemplateEngineStreamReader.Event
           
static class XmlTemplateEngineStreamReader.Namespace
           
static class XmlTemplateEngineStreamReader.StartElementEvent
           
static class XmlTemplateEngineStreamReader.TextEvent
           
 
Constructor Summary
XmlTemplateEngineStreamReader(InputStream pStream)
           
XmlTemplateEngineStreamReader(Reader pReader)
           
XmlTemplateEngineStreamReader(Source pSource)
           
 
Method Summary
 XmlTemplateEngineStreamReader.Event createEvent()
           
 int getAttributeCount()
           
 QName getAttributeName(int i)
           
 String getAttributeValue(int i)
           
 int getEventType()
           
 javax.xml.stream.Location getLocation()
           
 QName getName()
           
 int getNamespaceCount()
           
 String getNamespacePrefix(int pIndex)
           
 String getNamespaceURI(int pIndex)
           
 String getPIData()
           
 String getPITarget()
           
 String getText()
           
 boolean hasNext()
           
 int next()
           
 void pushBack(XmlTemplateEngineStreamReader.Event event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlTemplateEngineStreamReader

public XmlTemplateEngineStreamReader(Reader pReader)
                              throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

XmlTemplateEngineStreamReader

public XmlTemplateEngineStreamReader(InputStream pStream)
                              throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

XmlTemplateEngineStreamReader

public XmlTemplateEngineStreamReader(Source pSource)
                              throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException
Method Detail

hasNext

public boolean hasNext()
                throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

next

public int next()
         throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

getEventType

public int getEventType()

getText

public String getText()

getPIData

public String getPIData()

getPITarget

public String getPITarget()

getName

public QName getName()

getLocation

public javax.xml.stream.Location getLocation()

getAttributeCount

public int getAttributeCount()

getAttributeName

public QName getAttributeName(int i)

getAttributeValue

public String getAttributeValue(int i)

getNamespaceCount

public int getNamespaceCount()

getNamespacePrefix

public String getNamespacePrefix(int pIndex)

getNamespaceURI

public String getNamespaceURI(int pIndex)

createEvent

public XmlTemplateEngineStreamReader.Event createEvent()

pushBack

public void pushBack(XmlTemplateEngineStreamReader.Event event)


Copyright © 2009-2010. All Rights Reserved.