public final class SaxHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isXdkDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory builderFactory)
Determines whether the given
builderFactory is from XDK package or not. |
static boolean |
isXdkParserFactory(javax.xml.parsers.SAXParserFactory parserFactory)
Determines whether the given SAX
parserFactory is from XDK package or not. |
public static boolean isXdkParserFactory(javax.xml.parsers.SAXParserFactory parserFactory)
parserFactory
is from XDK package or not.parserFactory
- SAX parser factory to evaluate.true
if the given SAX parser factory is an XDK factory, false
otherwise.public static boolean isXdkDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory builderFactory)
builderFactory
is from XDK package or not.builderFactory
- document builder factory to evaluate.true
if the given document builder factory is an XDK factory, false
otherwise.Copyright © 2016 Oracle Corporation. All Rights Reserved.