public static enum ParserBenchmark.DriverFactory extends java.lang.Enum<ParserBenchmark.DriverFactory>
Enum Constant and Description |
---|
BEAStax
Factory for the
BEAStaxDriver . |
Binary
Factory for the
BinaryStreamDriver . |
DOM
Factory for the
DomDriver . |
DOM4J
Factory for the
Dom4JDriver . |
JDKStax
Factory for the
StandardStaxDriver . |
JDom
Factory for the
JDomDriver . |
JDom2
Factory for the
JDom2Driver . |
Jettison
Factory for the
JettisonMappedXmlDriver . |
kXML2
Factory for the
KXml2Driver . |
MXParser
Factory for the
MXParserDriver . |
Woodstox
Factory for the
WstxDriver . |
Xom
Factory for the
XomDriver . |
Xpp3
Factory for the
Xpp3Driver . |
Modifier and Type | Method and Description |
---|---|
HierarchicalStreamDriver |
getDriver()
Request the driver of the instantiated factory.
|
static ParserBenchmark.DriverFactory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParserBenchmark.DriverFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParserBenchmark.DriverFactory MXParser
MXParserDriver
.public static final ParserBenchmark.DriverFactory Xpp3
Xpp3Driver
.public static final ParserBenchmark.DriverFactory kXML2
KXml2Driver
.public static final ParserBenchmark.DriverFactory JDKStax
StandardStaxDriver
.public static final ParserBenchmark.DriverFactory Woodstox
WstxDriver
.public static final ParserBenchmark.DriverFactory BEAStax
BEAStaxDriver
.public static final ParserBenchmark.DriverFactory DOM
DomDriver
.public static final ParserBenchmark.DriverFactory DOM4J
Dom4JDriver
.public static final ParserBenchmark.DriverFactory JDom
JDomDriver
.public static final ParserBenchmark.DriverFactory JDom2
JDom2Driver
.public static final ParserBenchmark.DriverFactory Xom
XomDriver
.public static final ParserBenchmark.DriverFactory Binary
BinaryStreamDriver
.public static final ParserBenchmark.DriverFactory Jettison
JettisonMappedXmlDriver
.public static ParserBenchmark.DriverFactory[] values()
for (ParserBenchmark.DriverFactory c : ParserBenchmark.DriverFactory.values()) System.out.println(c);
public static ParserBenchmark.DriverFactory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic HierarchicalStreamDriver getDriver()
Copyright © 2004–2024 XStream. All rights reserved.