org.exolab.castor.xml.descriptors
Class PrimitivesClassDescriptor

java.lang.Object
  extended by org.exolab.castor.xml.descriptors.BaseDescriptor
      extended by org.exolab.castor.xml.descriptors.StringClassDescriptor
          extended by org.exolab.castor.xml.descriptors.PrimitivesClassDescriptor
All Implemented Interfaces:
NatureExtendable, PropertyHolder, ClassDescriptor, XMLClassDescriptor

public class PrimitivesClassDescriptor
extends StringClassDescriptor

The default primitives class descriptor, this is only used when unmarshaling a primitive as the "root" object.

Version:
$Revision: 6671 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
Author:
Keith Visco

Constructor Summary
PrimitivesClassDescriptor()
          No-arg constructor.
PrimitivesClassDescriptor(java.lang.Class type)
          Constructs a PrimitivesClassDescriptor for the given type.
 
Method Summary
 
Methods inherited from class org.exolab.castor.xml.descriptors.StringClassDescriptor
getAccessMode, getAttributeDescriptors, getContentDescriptor, getElementDescriptors, getExtends, getFieldDescriptor, getFields, getIdentity, getJavaClass, getNameSpacePrefix, getNameSpaceURI, getValidator, getXMLName, setNameSpaceURI, setValidator, setXMLName
 
Methods inherited from class org.exolab.castor.xml.descriptors.BaseDescriptor
addNature, canAccept, checkDescriptorForCorrectOrderWithinSequence, getProperty, hasNature, isChoice, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitivesClassDescriptor

public PrimitivesClassDescriptor()
No-arg constructor.


PrimitivesClassDescriptor

public PrimitivesClassDescriptor(java.lang.Class type)
Constructs a PrimitivesClassDescriptor for the given type.

Parameters:
type - a Class representing the primitive


Copyright © 2011. All Rights Reserved.