public final class SaxHelper
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
SaxHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isXdkDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory builderFactory)
Determines whether the given
builderFactory is from XDK package or not. |
private static boolean |
isXdkFactory(java.lang.Object factory,
java.lang.String className) |
static boolean |
isXdkParserFactory(javax.xml.parsers.SAXParserFactory parserFactory)
Determines whether the given SAX
parserFactory is from XDK package or not. |
public static boolean isXdkParserFactory(javax.xml.parsers.SAXParserFactory parserFactory)
parserFactory
is from XDK package or not.parserFactory
- SAX parser factory to evaluate.true
if the given SAX parser factory is an XDK factory, false
otherwise.public static boolean isXdkDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory builderFactory)
builderFactory
is from XDK package or not.builderFactory
- document builder factory to evaluate.true
if the given document builder factory is an XDK factory, false
otherwise.private static boolean isXdkFactory(java.lang.Object factory, java.lang.String className)