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 booleanisXdkDocumentBuilderFactory(DocumentBuilderFactory builderFactory) Determines whether the givenbuilderFactoryis from XDK package or not.private static booleanisXdkFactory(Object factory, String className) static booleanisXdkParserFactory(SAXParserFactory parserFactory) Determines whether the given SAXparserFactoryis from XDK package or not.
-
Constructor Details
-
SaxHelper
private SaxHelper()
-
-
Method Details
-
isXdkParserFactory
Determines whether the given SAXparserFactoryis from XDK package or not.- Parameters:
parserFactory- SAX parser factory to evaluate.- Returns:
trueif the given SAX parser factory is an XDK factory,falseotherwise.
-
isXdkDocumentBuilderFactory
Determines whether the givenbuilderFactoryis from XDK package or not.- Parameters:
builderFactory- document builder factory to evaluate.- Returns:
trueif the given document builder factory is an XDK factory,falseotherwise.
-
isXdkFactory
-