public static final class XMLStreamReaderFactory.Zephyr extends XMLStreamReaderFactory
XMLStreamReaderFactory
implementation for SJSXP/JAXP RI.XMLStreamReaderFactory.Default, XMLStreamReaderFactory.NoLock, XMLStreamReaderFactory.RecycleAware, XMLStreamReaderFactory.Woodstox, XMLStreamReaderFactory.Zephyr
Constructor and Description |
---|
Zephyr(javax.xml.stream.XMLInputFactory xif,
Class clazz) |
Modifier and Type | Method and Description |
---|---|
javax.xml.stream.XMLStreamReader |
doCreate(String systemId,
InputStream in,
boolean rejectDTDs) |
javax.xml.stream.XMLStreamReader |
doCreate(String systemId,
Reader in,
boolean rejectDTDs) |
void |
doRecycle(javax.xml.stream.XMLStreamReader r) |
static XMLStreamReaderFactory |
newInstance(javax.xml.stream.XMLInputFactory xif)
Creates
XMLStreamReaderFactory.Zephyr instance if the given XMLInputFactory is the one
from Zephyr. |
public Zephyr(javax.xml.stream.XMLInputFactory xif, Class clazz) throws NoSuchMethodException
NoSuchMethodException
@Nullable public static XMLStreamReaderFactory newInstance(javax.xml.stream.XMLInputFactory xif)
XMLStreamReaderFactory.Zephyr
instance if the given XMLInputFactory
is the one
from Zephyr.public void doRecycle(javax.xml.stream.XMLStreamReader r)
doRecycle
in class XMLStreamReaderFactory
public javax.xml.stream.XMLStreamReader doCreate(String systemId, InputStream in, boolean rejectDTDs)
doCreate
in class XMLStreamReaderFactory
public javax.xml.stream.XMLStreamReader doCreate(String systemId, Reader in, boolean rejectDTDs)
doCreate
in class XMLStreamReaderFactory
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.