public class MappingListReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected XSDContextIF |
ctx |
Constructor and Description |
---|
MappingListReader() |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<MappingEntry> |
get(java.lang.String element) |
java.util.ArrayList<java.lang.String> |
getElements() |
java.util.HashMap<java.lang.String,java.lang.String> |
getKeyMap(java.lang.String elementName)
Get the map with the keys which will be mapped to the attributes for the given element.
|
protected org.w3c.dom.Document |
getMapDocument(java.lang.String mapFile)
Get the Document mapping file.
|
java.util.ArrayList<java.lang.String> |
getMappedKeys() |
static void |
main(java.lang.String[] args) |
void |
readMappingList(java.lang.String mapFilename) |
void |
setContext(XSDContextIF ctx) |
protected XSDContextIF ctx
protected org.w3c.dom.Document getMapDocument(java.lang.String mapFile) throws ExecutableException
ExecutableException
public void readMappingList(java.lang.String mapFilename) throws ExecutableException
ExecutableException
public java.util.ArrayList<MappingEntry> get(java.lang.String element)
public java.util.ArrayList<java.lang.String> getMappedKeys()
public java.util.ArrayList<java.lang.String> getElements()
public void setContext(XSDContextIF ctx)
public static void main(java.lang.String[] args)
args
- public java.util.HashMap<java.lang.String,java.lang.String> getKeyMap(java.lang.String elementName)
elementName
- name of the element.