Constructor and Description |
---|
QNameMap() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultNamespace() |
String |
getDefaultPrefix() |
String |
getJavaClassName(QName qname)
Returns the Java class name that should be used for the given QName.
|
QName |
getQName(String javaClassName)
Returns the Java class name that should be used for the given QName.
|
void |
registerMapping(QName qname,
Class type)
Registers the mapping of the type to the QName
|
void |
registerMapping(QName qname,
String javaClassName)
Registers the mapping of the Java class name to the QName
|
void |
setDefaultNamespace(String defaultNamespace) |
void |
setDefaultPrefix(String defaultPrefix) |
public String getJavaClassName(QName qname)
public QName getQName(String javaClassName)
public void registerMapping(QName qname, String javaClassName)
public void registerMapping(QName qname, Class type)
public String getDefaultNamespace()
public void setDefaultNamespace(String defaultNamespace)
public String getDefaultPrefix()
public void setDefaultPrefix(String defaultPrefix)
Copyright © 2004–2016 XStream. All rights reserved.