org.teleal.cling.support.contentdirectory.descriptor
Class DidlNamespacePrefixMapper
java.lang.Object
com.sun.xml.internal.bind.marshaller.NamespacePrefixMapper
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
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 |
DidlNamespacePrefixMapper
public DidlNamespacePrefixMapper()
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.