|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.util.name.NamespaceExtractor
public class NamespaceExtractor
Extracts namespace mapping information from an XML file. XML file is parsed and all startPrefixMapping events are intercepted. Scoping of prefix mapping within the XML file may result in multiple namespace using the same prefix. This is handled by mangling the prefix when required. The resulting NamespaceMapping implements NamespaceResolver and can be used by tools (such as o.a.j.tools.nodetype.CompactNodeTypeDefWriter) to resolve namespaces.
| Constructor Summary | |
|---|---|
NamespaceExtractor(java.lang.String fileName,
java.lang.String dpb)
Deprecated. Constructor |
|
| Method Summary | |
|---|---|
NamespaceMapping |
getNamespaceMapping()
Deprecated. getNamespaceMapping |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamespaceExtractor(java.lang.String fileName,
java.lang.String dpb)
throws NamespaceException
fileName - dpb -
NamespaceException| Method Detail |
|---|
public NamespaceMapping getNamespaceMapping()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||