net.sf.gridarta.utils
public class XmlHelper extends Object
DocumentBuilder and an XPath that are setup for Gridarta.| Modifier and Type | Class and Description |
|---|---|
private static class |
XmlHelper.GridartaEntityResolver
Implements an
EntityResolver for looking up built-in .dtd files. |
| Modifier and Type | Field and Description |
|---|---|
private DocumentBuilder |
documentBuilder
DocumentBuilder.
|
private static Pattern |
PATTERN_DIRECTORY_PART
The
Pattern for matching the directory part of a system ID. |
private XPath |
xpath
The XPath for using XPath.
|
| Constructor and Description |
|---|
XmlHelper()
Initialize the XML engine.
|
| Modifier and Type | Method and Description |
|---|---|
DocumentBuilder |
getDocumentBuilder()
Return the DocumentBuilder.
|
XPath |
getXPath()
Return the XPath for using XPath.
|
@NotNull private static final Pattern PATTERN_DIRECTORY_PART
Pattern for matching the directory part of a system ID.private final DocumentBuilder documentBuilder
public XmlHelper() throws ParserConfigurationException
ParserConfigurationException - in case the xml parser couldn't be
set uppublic DocumentBuilder getDocumentBuilder()
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.