Public Member Functions | |
XMLClassDescriptorAdapter (ClassDescriptor classDesc, String xmlName) throws org.exolab.castor.mapping.MappingException | |
XMLClassDescriptorAdapter (ClassDescriptor classDesc, String xmlName, NodeType primitiveNodeType) throws org.exolab.castor.mapping.MappingException |
An adapter class which can turn an ordinary ClassDescriptor into an XMLClassDescriptor
org.exolab.castor.xml.util.XMLClassDescriptorAdapter.XMLClassDescriptorAdapter | ( | ClassDescriptor | classDesc, | |
String | xmlName | |||
) | throws org.exolab.castor.mapping.MappingException |
Creates a new XMLClassDescriptorAdapter using the given ClassDescriptor
classDesc | the ClassDescriptor to "adapt" | |
xmlName | the XML name for the class |
org.exolab.castor.xml.util.XMLClassDescriptorAdapter.XMLClassDescriptorAdapter | ( | ClassDescriptor | classDesc, | |
String | xmlName, | |||
NodeType | primitiveNodeType | |||
) | throws org.exolab.castor.mapping.MappingException |
Creates a new XMLClassDescriptorAdapter using the given ClassDescriptor
classDesc | the ClassDescriptor to "adapt" | |
xmlName | the XML name for the class | |
primitiveNodeType | the NodeType to use for primitives |
References org.exolab.castor.xml.util.XMLClassDescriptorImpl.setJavaClass(), org.exolab.castor.xml.util.XMLClassDescriptorImpl.setXMLName(), and org.exolab.castor.xml.XMLNaming.toXMLName().