Package | Description |
---|---|
net.sf.practicalxml |
This top-level package contains the basic toolkit: a set of classes that
expose static methods.
|
net.sf.practicalxml.xpath |
This package support classes that are primarily used for XPath evaluation.
|
Modifier and Type | Method and Description |
---|---|
static String |
DomUtil.getAbsolutePath(Element elem,
NamespaceResolver nsLookup)
Returns the path from the root of the document to the specified
element, as an XPath expression using positional predicates to
differentiate between nodes with the same name and namespace.
|
Modifier and Type | Method and Description |
---|---|
NamespaceResolver |
NamespaceResolver.addNamespace(String prefix,
String nsURI)
Adds a namespace to this resolver.
|
protected NamespaceResolver |
NamespaceResolver.clone()
Returns a deep clone of this object, that can then be independently
manipulated.
|
NamespaceResolver |
NamespaceResolver.setDefaultNamespace(String nsURI)
Sets the default namespace -- the namespace that will be returned
when an empty string is passed to the resolver.
|