org.jboss.resteasy.plugins.providers.jaxb
Class XmlNamespacePrefixMapper
java.lang.Object
com.sun.xml.bind.marshaller.NamespacePrefixMapper
org.jboss.resteasy.plugins.providers.jaxb.XmlNamespacePrefixMapper
public class XmlNamespacePrefixMapper
- extends com.sun.xml.bind.marshaller.NamespacePrefixMapper
A XmlNamespecePrefixMapper.
- Version:
- $Revision:$
- Author:
- Ryan J. McDonough
Constructor Summary |
XmlNamespacePrefixMapper(java.util.Map<java.lang.String,java.lang.String> namespaces)
Create a new XmlNamespecePrefixMapper. |
XmlNamespacePrefixMapper(javax.xml.bind.annotation.XmlNs... namespaces)
Create a new XmlNamespecePrefixMapper. |
Method Summary |
java.lang.String |
getPreferredPrefix(java.lang.String namespaceUri,
java.lang.String suggestion,
boolean requirePrefix)
|
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 |
XmlNamespacePrefixMapper
public XmlNamespacePrefixMapper(javax.xml.bind.annotation.XmlNs... namespaces)
- Create a new XmlNamespecePrefixMapper.
- Parameters:
namespeces
-
XmlNamespacePrefixMapper
public XmlNamespacePrefixMapper(java.util.Map<java.lang.String,java.lang.String> namespaces)
- Create a new XmlNamespecePrefixMapper.
- Parameters:
namespaces
-
getPreferredPrefix
public java.lang.String getPreferredPrefix(java.lang.String namespaceUri,
java.lang.String suggestion,
boolean requirePrefix)
- Specified by:
getPreferredPrefix
in class com.sun.xml.bind.marshaller.NamespacePrefixMapper
Copyright © 2010. All Rights Reserved.