| java.lang.Object com.thoughtworks.xstream.io.xml.QNameMap
QNameMap | public class QNameMap (Code) | | Represents a mapping of
QName instances to Java class names
allowing class aliases and namespace aware mappings of QNames to class names.
author: James Strachan version: $Revision: 1345 $ |
getDefaultNamespace | public String getDefaultNamespace()(Code) | | |
getJavaClassName | public String getJavaClassName(QName qname)(Code) | | Returns the Java class name that should be used for the given QName.
If no explicit mapping has been made then the localPart of the QName is used
which is the normal default in XStream.
|
getQName | public QName getQName(String javaClassName)(Code) | | Returns the Java class name that should be used for the given QName.
If no explicit mapping has been made then the localPart of the QName is used
which is the normal default in XStream.
|
registerMapping | public synchronized void registerMapping(QName qname, String javaClassName)(Code) | | Registers the mapping of the Java class name to the QName
|
registerMapping | public synchronized void registerMapping(QName qname, Class type)(Code) | | Registers the mapping of the type to the QName
|
setDefaultNamespace | public void setDefaultNamespace(String defaultNamespace)(Code) | | |
setDefaultPrefix | public void setDefaultPrefix(String defaultPrefix)(Code) | | |
|
|