org.teleal.cling.support.contentdirectory.descriptor
Class DidlNamespacePrefixMapper

java.lang.Object
  extended by com.sun.xml.internal.bind.marshaller.NamespacePrefixMapper
      extended by org.teleal.cling.support.contentdirectory.descriptor.DidlNamespacePrefixMapper

public class DidlNamespacePrefixMapper
extends com.sun.xml.internal.bind.marshaller.NamespacePrefixMapper

Makes the JAXB generated XML pretty, some devices might expect the "right" prefixes.

Author:
Christian Bauer

Constructor Summary
DidlNamespacePrefixMapper()
           
 
Method Summary
 String getPreferredPrefix(String uri, String suggestion, boolean requirePrefix)
           
 
Methods inherited from class com.sun.xml.internal.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

DidlNamespacePrefixMapper

public DidlNamespacePrefixMapper()
Method Detail

getPreferredPrefix

public String getPreferredPrefix(String uri,
                                 String suggestion,
                                 boolean requirePrefix)
Specified by:
getPreferredPrefix in class com.sun.xml.internal.bind.marshaller.NamespacePrefixMapper


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.