com.sun.xml.ws.api.streaming
Class XMLStreamReaderFactory.Default
java.lang.Object
com.sun.xml.ws.api.streaming.XMLStreamReaderFactory
com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.Default
- Enclosing class:
- XMLStreamReaderFactory
public static final class XMLStreamReaderFactory.Default
- extends XMLStreamReaderFactory
Default XMLStreamReaderFactory implementation
that can work with any XMLInputFactory.
XMLInputFactory is not required to be thread-safe, but
if the create method on this implementation is synchronized,
it may run into (see
race condition). Hence, using a XMLInputFactory per thread.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLStreamReaderFactory.Default
public XMLStreamReaderFactory.Default()
doCreate
public XMLStreamReader doCreate(String systemId,
InputStream in,
boolean rejectDTDs)
- Specified by:
doCreate in class XMLStreamReaderFactory
doCreate
public XMLStreamReader doCreate(String systemId,
Reader in,
boolean rejectDTDs)
- Specified by:
doCreate in class XMLStreamReaderFactory
doRecycle
public void doRecycle(XMLStreamReader r)
- Specified by:
doRecycle in class XMLStreamReaderFactory
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.