org.tridas.io
Class TridasNamespacePrefixMapper
java.lang.Object
com.sun.xml.bind.marshaller.NamespacePrefixMapper
org.tridas.io.TridasNamespacePrefixMapper
public class TridasNamespacePrefixMapper
- extends com.sun.xml.bind.marshaller.NamespacePrefixMapper
Provides user friendly namespace prefixes to in our XML
- Author:
- peterbrewer
Methods inherited from class com.sun.xml.bind.marshaller.NamespacePrefixMapper |
getContextualNamespaceDecls, getPreDeclaredNamespaceUris, getPreDeclaredNamespaceUris2 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TridasNamespacePrefixMapper
public TridasNamespacePrefixMapper()
getPreferredPrefix
public String getPreferredPrefix(String namespaceUri,
String suggestion,
boolean requirePrefix)
- Specified by:
getPreferredPrefix
in class com.sun.xml.bind.marshaller.NamespacePrefixMapper
getTridasNamespaceURI
public static String getTridasNamespaceURI()
- Get the namespace URI for the TRiDaS schema elements
- Returns:
Copyright © 2011. All Rights Reserved.