net.sf.ahtutils.xml.ns
Class AhtUtilsNsPrefixMapper

java.lang.Object
  extended by com.sun.xml.bind.marshaller.NamespacePrefixMapper
      extended by net.sf.ahtutils.xml.ns.AhtUtilsNsPrefixMapper
All Implemented Interfaces:
net.sf.exlp.xml.ns.NsPrefixMapperInterface

public class AhtUtilsNsPrefixMapper
extends com.sun.xml.bind.marshaller.NamespacePrefixMapper
implements net.sf.exlp.xml.ns.NsPrefixMapperInterface


Constructor Summary
AhtUtilsNsPrefixMapper()
           
 
Method Summary
 String[] getPreDeclaredNamespaceUris()
           
 String getPreferredPrefix(String namespaceUri, String suggestion, boolean requirePrefix)
           
 
Methods inherited from class com.sun.xml.bind.marshaller.NamespacePrefixMapper
getContextualNamespaceDecls, getPreDeclaredNamespaceUris2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AhtUtilsNsPrefixMapper

public AhtUtilsNsPrefixMapper()
Method Detail

getPreferredPrefix

public String getPreferredPrefix(String namespaceUri,
                                 String suggestion,
                                 boolean requirePrefix)
Specified by:
getPreferredPrefix in interface net.sf.exlp.xml.ns.NsPrefixMapperInterface
Specified by:
getPreferredPrefix in class com.sun.xml.bind.marshaller.NamespacePrefixMapper

getPreDeclaredNamespaceUris

public String[] getPreDeclaredNamespaceUris()
Specified by:
getPreDeclaredNamespaceUris in interface net.sf.exlp.xml.ns.NsPrefixMapperInterface
Overrides:
getPreDeclaredNamespaceUris in class com.sun.xml.bind.marshaller.NamespacePrefixMapper


Copyright © 2011. All Rights Reserved.