|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.soap.util.xml.XMLParserUtils
XML Parser Utilities Provides methods to set and use JAXP compatible XML parsers.
Constructor Summary | |
XMLParserUtils()
|
Method Summary |
Type | Method |
---|---|
static javax.xml.parsers.DocumentBuilder |
getXMLDocBuilder()
Use this method to get a JAXP document builder. |
static void |
refreshDocumentBuilderFactory(java.lang.String factoryClassName,
boolean namespaceAware,
boolean validating)
Causes the private DocumentBuilderFactory reference to point to a new instance of a DocumentBuilderFactory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLParserUtils()
Method Detail |
public static void refreshDocumentBuilderFactory(java.lang.String factoryClassName, boolean namespaceAware, boolean validating)
factoryClassName
- the fully-qualified name of a class
that implemements DocumentBuilderFactory. If this argument
is null, the default (platform-specific) implementation is
used. Basically, if this argument is not null, the
javax.xml.parsers.DocumentBuilderFactory system property
is set (with the specified value) before the
DocumentBuilderFactory.newInstance() method is invoked.namespaceAware
- configure the new DocumentBuilderFactory
to produce namespace aware parsers (i.e. DocumentBuilders)validating
- configure the new DocumentBuilderFactory to
produce validating parsers (i.e. DocumentBuilders)public static javax.xml.parsers.DocumentBuilder getXMLDocBuilder() throws java.lang.IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |