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 boolean
isXdkDocumentBuilderFactory
(DocumentBuilderFactory builderFactory) Determines whether the givenbuilderFactory
is from XDK package or not.static boolean
isXdkParserFactory
(SAXParserFactory parserFactory) Determines whether the given SAXparserFactory
is from XDK package or not.
-
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.
-