com.sun.xml.stream
Class StaxXMLInputSource

java.lang.Object
  extended by com.sun.xml.stream.StaxXMLInputSource

public class StaxXMLInputSource
extends java.lang.Object

Author:
Neeraj This class wraps XMLInputSource and is also capable of telling wether application returned XMLStreamReader or not when XMLResolver.resolveEnity was called.

Constructor Summary
StaxXMLInputSource(javax.xml.stream.XMLEventReader eventReader)
          Creates a new instance of StaxXMLInputSource
StaxXMLInputSource(org.apache.xerces.xni.parser.XMLInputSource inputSource)
           
StaxXMLInputSource(javax.xml.stream.XMLStreamReader streamReader)
          Creates a new instance of StaxXMLInputSource
 
Method Summary
 javax.xml.stream.XMLEventReader getXMLEventReader()
           
 org.apache.xerces.xni.parser.XMLInputSource getXMLInputSource()
           
 javax.xml.stream.XMLStreamReader getXMLStreamReader()
           
 boolean hasXMLStreamOrXMLEventReader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaxXMLInputSource

public StaxXMLInputSource(javax.xml.stream.XMLStreamReader streamReader)
Creates a new instance of StaxXMLInputSource


StaxXMLInputSource

public StaxXMLInputSource(javax.xml.stream.XMLEventReader eventReader)
Creates a new instance of StaxXMLInputSource


StaxXMLInputSource

public StaxXMLInputSource(org.apache.xerces.xni.parser.XMLInputSource inputSource)
Method Detail

getXMLStreamReader

public javax.xml.stream.XMLStreamReader getXMLStreamReader()

getXMLEventReader

public javax.xml.stream.XMLEventReader getXMLEventReader()

getXMLInputSource

public org.apache.xerces.xni.parser.XMLInputSource getXMLInputSource()

hasXMLStreamOrXMLEventReader

public boolean hasXMLStreamOrXMLEventReader()


Copyright ? 2002-2003 Apache XML Project. All Rights Reserved.