Class SaxHelper
java.lang.Object
org.glassfish.jersey.internal.util.SaxHelper
Common helper methods for SAX parsers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isXdkDocumentBuilderFactory
(DocumentBuilderFactory builderFactory) Determines whether the givenbuilderFactory
is from XDK package or not.private static boolean
isXdkFactory
(Object factory, String className) static boolean
isXdkParserFactory
(SAXParserFactory parserFactory) Determines whether the given SAXparserFactory
is from XDK package or not.
-
Constructor Details
-
SaxHelper
private SaxHelper()
-
-
Method Details
-
isXdkParserFactory
Determines whether the given SAXparserFactory
is from XDK package or not.- Parameters:
parserFactory
- SAX parser factory to evaluate.- Returns:
true
if the given SAX parser factory is an XDK factory,false
otherwise.
-
isXdkDocumentBuilderFactory
Determines whether the givenbuilderFactory
is from XDK package or not.- Parameters:
builderFactory
- document builder factory to evaluate.- Returns:
true
if the given document builder factory is an XDK factory,false
otherwise.
-
isXdkFactory
-