org.tridas.io
Class TridasNamespacePrefixMapper

java.lang.Object
  extended by com.sun.xml.bind.marshaller.NamespacePrefixMapper
      extended by 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

Constructor Summary
TridasNamespacePrefixMapper()
           
 
Method Summary
 String getPreferredPrefix(String namespaceUri, String suggestion, boolean requirePrefix)
           
static String getTridasNamespaceURI()
          Get the namespace URI for the TRiDaS schema elements
 
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
 

Constructor Detail

TridasNamespacePrefixMapper

public TridasNamespacePrefixMapper()
Method Detail

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.