org.exolab.castor.xml.util
Class XMLClassDescriptorAdapter
- ClassDescriptor, ClassValidator, TypeValidator, XMLClassDescriptor
public class XMLClassDescriptorAdapter
An adapter class which can turn an ordinary ClassDescriptor
into an XMLClassDescriptor
$Revision: 5951 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
addFieldDescriptor , canAccept , contains , getAccessMode , getAttributeDescriptors , getContentDescriptor , getElementDescriptors , getExtends , getFieldDescriptor , getFields , getIdentity , getJavaClass , getNameSpacePrefix , getNameSpaceURI , getValidator , getXMLName , hasContainerFields , isDefaultPrimitiveValue , isElementDefinition , isPrimitive , removeFieldDescriptor , setCompositorAsAll , setCompositorAsChoice , setCompositorAsSequence , setElementDefinition , setExtends , setExtendsWithoutFlatten , setIdentity , setIntrospected , setJavaClass , setNameSpacePrefix , setNameSpaceURI , setXMLName , sortDescriptors , toString , toXMLName , validate , validate |
XMLClassDescriptorAdapter
public XMLClassDescriptorAdapter(ClassDescriptor classDesc,
String xmlName)
throws MappingException
Creates a new XMLClassDescriptorAdapter using the
given ClassDescriptor
classDesc
- the ClassDescriptor to "adapt"xmlName
- the XML name for the class
XMLClassDescriptorAdapter
public XMLClassDescriptorAdapter(ClassDescriptor classDesc,
String xmlName,
NodeType primitiveNodeType)
throws MappingException
Creates a new XMLClassDescriptorAdapter using the
given ClassDescriptor
classDesc
- the ClassDescriptor to "adapt"xmlName
- the XML name for the classprimitiveNodeType
- the NodeType to use for primitives
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com