|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectschema2template.model.NamespaceDictionary
public class NamespaceDictionary
Translation NS URI <-> NS Localname
| Constructor Summary | |
|---|---|
NamespaceDictionary()
Construct a new empty dictionary |
|
| Method Summary | |
|---|---|
String |
getLocalNamespace(String nsUri)
Translate URI to local namespace |
String |
getNamespaceURI(String nsLocal)
Translate local namespace to URI |
static NamespaceDictionary |
getStandardDictionary()
Construct an example dictionary as needed by the OpenDocument schema file |
void |
put(String nsLocal,
String nsUri)
Register a new translation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamespaceDictionary()
| Method Detail |
|---|
public void put(String nsLocal,
String nsUri)
nsLocal - short namespacensUri - namespace URIpublic String getNamespaceURI(String nsLocal)
nsLocal - short namespace
public String getLocalNamespace(String nsUri)
nsUri - namespace URI
public static NamespaceDictionary getStandardDictionary()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||