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 HashMap<String,String> |
nsMap |
log
theFactory
Constructor and Description |
---|
EnsureElementUri() |
Modifier and Type | Method and Description |
---|---|
void |
addNS(String localName,
String uri)
add a prefix / uri pair
|
void |
walk(KElement root) |
getFactory
toString, walkTree, walkTreeKidsFirst
public void addNS(String localName, String uri)
localName
- the local nameuri
- the URI must not be nullIllegalArgumentException
- if uri is nullpublic void walk(KElement root)
root
- Copyright © 2018. All rights reserved.