Class SaxHelper
- java.lang.Object
-
- org.glassfish.jersey.internal.util.SaxHelper
-
public final class SaxHelper extends Object
Common helper methods for SAX parsers.- Author:
- Michal Gajdos
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
isXdkParserFactory
public static boolean isXdkParserFactory(SAXParserFactory parserFactory)
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
public static boolean isXdkDocumentBuilderFactory(DocumentBuilderFactory builderFactory)
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.
-
-