com.sun.xml.ws.api.streaming
Class XMLStreamReaderFactory.Default

java.lang.Object
  extended by com.sun.xml.ws.api.streaming.XMLStreamReaderFactory
      extended by com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.NoLock
          extended by com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.Default
Enclosing class:
XMLStreamReaderFactory

public static final class XMLStreamReaderFactory.Default
extends XMLStreamReaderFactory.NoLock

Default XMLStreamReaderFactory implementation that can work with any XMLInputFactory.

XMLInputFactory is not required to be thread-safe, so the create method on this implementation is synchronized.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.ws.api.streaming.XMLStreamReaderFactory
XMLStreamReaderFactory.Default, XMLStreamReaderFactory.NoLock, XMLStreamReaderFactory.RecycleAware, XMLStreamReaderFactory.Woodstox, XMLStreamReaderFactory.Zephyr
 
Constructor Summary
XMLStreamReaderFactory.Default(javax.xml.stream.XMLInputFactory xif)
           
 
Method Summary
 javax.xml.stream.XMLStreamReader doCreate(String systemId, InputStream in, boolean rejectDTDs)
           
 javax.xml.stream.XMLStreamReader doCreate(String systemId, Reader in, boolean rejectDTDs)
           
 
Methods inherited from class com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.NoLock
doRecycle
 
Methods inherited from class com.sun.xml.ws.api.streaming.XMLStreamReaderFactory
create, create, create, create, get, recycle, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLStreamReaderFactory.Default

public XMLStreamReaderFactory.Default(javax.xml.stream.XMLInputFactory xif)
Method Detail

doCreate

public javax.xml.stream.XMLStreamReader doCreate(String systemId,
                                                 InputStream in,
                                                 boolean rejectDTDs)
Overrides:
doCreate in class XMLStreamReaderFactory.NoLock

doCreate

public javax.xml.stream.XMLStreamReader doCreate(String systemId,
                                                 Reader in,
                                                 boolean rejectDTDs)
Overrides:
doCreate in class XMLStreamReaderFactory.NoLock