org.cip4.jdflib.elementwalker
Class EnsureElementUri
java.lang.Object
org.cip4.jdflib.elementwalker.ElementWalker
org.cip4.jdflib.elementwalker.BaseElementWalker
org.cip4.jdflib.elementwalker.EnsureElementUri
public class EnsureElementUri
- extends BaseElementWalker
- Author:
- Dr. Rainer Prosi, Heidelberger Druckmaschinen AG
ensures correct ns uri
|
Nested Class Summary |
class |
EnsureElementUri.WalkElement
the resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes |
nsMap
protected final HashMap<String,String> nsMap
EnsureElementUri
public EnsureElementUri()
addNS
public void addNS(String localName,
String uri)
- add a prefix / uri pair
- Parameters:
localName - the local nameuri - the URI must not be null
- Throws:
IllegalArgumentException - if uri is null
walk
public void walk(KElement root)
- Parameters:
root -
getFactory
protected BaseWalkerFactory getFactory()
- Overrides:
getFactory in class BaseElementWalker
- Returns:
- the factory for this worker
Copyright © 2013. All Rights Reserved.