Package io.protostuff
Class XmlIOFactoryUtil
java.lang.Object
io.protostuff.XmlIOFactoryUtil
Resolves the target
XMLInputFactory
and XMLOutputFactory
to use.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final boolean
(package private) static final String
(package private) static final String
static final XMLInputFactory
The defaultXMLInputFactory
impl.static final XMLOutputFactory
The defaultXMLOutputFactory
impl.private static final String[]
private static final String[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static Class
<?> Loads a class from the classloader; If not found, the classloader of thecontext
class specified will be used.(package private) static XMLInputFactory
(package private) static XMLOutputFactory
-
Field Details
-
CONFIGURED_INPUT_FACTORY
-
CONFIGURED_OUTPUT_FACTORY
-
CHECK_PARENT
static final boolean CHECK_PARENT -
INPUT_FACTORY_IMPLS
-
OUTPUT_FACTORY_IMPLS
-
DEFAULT_INPUT_FACTORY
The defaultXMLInputFactory
impl. -
DEFAULT_OUTPUT_FACTORY
The defaultXMLOutputFactory
impl.
-
-
Constructor Details
-
XmlIOFactoryUtil
private XmlIOFactoryUtil()
-
-
Method Details
-
newXMLInputFactory
-
newXMLOutputFactory
-
loadClass
Loads a class from the classloader; If not found, the classloader of thecontext
class specified will be used. If the flagcheckParent
is true, the classloader's parent is included in the lookup.
-