|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.util.stax.dialect.StAXDialectDetector
public class StAXDialectDetector
Detects StAX dialects and normalizes factories for a given StAX implementation.
Note that this class internally maintains a cache of detected dialects. The overhead caused by invocations of methods in this class is thus small.
Method Summary | |
---|---|
static StAXDialect |
getDialect(Class implementationClass)
Detect the dialect of a given StAX implementation. |
static XMLInputFactory |
normalize(XMLInputFactory factory)
Detect the dialect of a given XMLInputFactory and normalize it. |
static XMLOutputFactory |
normalize(XMLOutputFactory factory)
Detect the dialect of a given XMLOutputFactory and normalize it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XMLInputFactory normalize(XMLInputFactory factory)
XMLInputFactory
and normalize it.
factory
- the factory to normalize
StAXDialect.normalize(XMLInputFactory)
public static XMLOutputFactory normalize(XMLOutputFactory factory)
XMLOutputFactory
and normalize it.
factory
- the factory to normalize
StAXDialect.normalize(XMLOutputFactory)
public static StAXDialect getDialect(Class implementationClass)
implementationClass
- any class that is part of the StAX implementation; typically this should be a
XMLInputFactory
, XMLOutputFactory
,
XMLStreamReader
or
XMLStreamWriter
implementation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |