public class EnsureElementUri extends BaseElementWalker
| Modifier and Type | Class and Description |
|---|---|
class |
EnsureElementUri.WalkElement
the resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashMap<java.lang.String,java.lang.String> |
nsMap |
log, theFactory| Constructor and Description |
|---|
EnsureElementUri() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNS(java.lang.String localName,
java.lang.String uri)
add a prefix / uri pair
|
void |
walk(KElement root) |
getFactorytoString, walkTree, walkTreeKidsFirstpublic void addNS(java.lang.String localName,
java.lang.String uri)
localName - the local nameuri - the URI must not be nulljava.lang.IllegalArgumentException - if uri is nullpublic void walk(KElement root)
root -