Class XMLClassDescriptorAdapter

All Implemented Interfaces:
NatureExtendable, PropertyHolder, ClassDescriptor, TypeValidator, ClassValidator, XMLClassDescriptor

public class XMLClassDescriptorAdapter extends XMLClassDescriptorImpl
An adapter class which can turn an ordinary ClassDescriptor into an XMLClassDescriptor.
Version:
$Revision: 7436 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
Author:
Keith Visco
  • Constructor Details

    • XMLClassDescriptorAdapter

      public XMLClassDescriptorAdapter()
    • XMLClassDescriptorAdapter

      public XMLClassDescriptorAdapter(ClassDescriptor classDesc, String xmlName) throws MappingException
      Creates a new XMLClassDescriptorAdapter using the given ClassDescriptor.
      Parameters:
      classDesc - the ClassDescriptor to "adapt"
      xmlName - the XML name for the class
      Throws:
      MappingException
    • XMLClassDescriptorAdapter

      public XMLClassDescriptorAdapter(ClassDescriptor classDesc, String xmlName, NodeType primitiveNodeType) throws MappingException
      Creates a new XMLClassDescriptorAdapter using the given ClassDescriptor.
      Parameters:
      classDesc - the ClassDescriptor to "adapt"
      xmlName - the XML name for the class
      primitiveNodeType - the NodeType to use for primitives
      Throws:
      MappingException