public class NamespacePrefixMapperUtils extends Object
Constructor and Description |
---|
NamespacePrefixMapperUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getPreferredPrefix(String namespaceUri,
String suggestion,
boolean requirePrefix) |
static Object |
getPrefixMapper() |
static Object |
getPrefixMapperRelationshipsPart() |
static void |
setProperty(javax.xml.bind.Marshaller marshaller,
Object namespacePrefixMapper)
setProperty on 'com.sun.xml.bind.namespacePrefixMapper' or
'com.sun.xml.internal.bind.namespacePrefixMapper', as appropriate,
depending on whether JAXB reference implementation, or Java 6
implementation is being used.
|
public static Object getPrefixMapper() throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public static Object getPrefixMapperRelationshipsPart() throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public static void setProperty(javax.xml.bind.Marshaller marshaller, Object namespacePrefixMapper) throws javax.xml.bind.JAXBException
marshaller
- namespacePrefixMapper
- javax.xml.bind.JAXBException
public static String getPreferredPrefix(String namespaceUri, String suggestion, boolean requirePrefix) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
Copyright © 2007-2014. All Rights Reserved.