Class SaxHelper
java.lang.Object
org.glassfish.jersey.internal.util.SaxHelper
Common helper methods for SAX parsers.
- Author:
- Michal Gajdos
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisXdkDocumentBuilderFactory(DocumentBuilderFactory builderFactory) Determines whether the givenbuilderFactoryis from XDK package or not.static booleanisXdkParserFactory(SAXParserFactory parserFactory) Determines whether the given SAXparserFactoryis from XDK package or not.
-
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.
-