2 * This class was automatically generated with
3 * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
8 package jalview.schemabinding.version2.descriptors;
10 //---------------------------------/
11 //- Imported classes and packages -/
12 //---------------------------------/
14 import jalview.schemabinding.version2.Features;
17 * Class FeaturesDescriptor.
19 * @version $Revision$ $Date$
21 public class FeaturesDescriptor extends
22 jalview.schemabinding.version2.descriptors.FeatureDescriptor
25 // --------------------------/
26 // - Class/Member Variables -/
27 // --------------------------/
30 * Field _elementDefinition.
32 private boolean _elementDefinition;
37 private java.lang.String _nsPrefix;
42 private java.lang.String _nsURI;
47 private java.lang.String _xmlName;
53 public FeaturesDescriptor()
56 setExtendsWithoutFlatten(new jalview.schemabinding.version2.descriptors.FeatureDescriptor());
57 _nsURI = "www.jalview.org";
58 _xmlName = "features";
59 _elementDefinition = true;
67 * Method getAccessMode.
69 * @return the access mode specified for this class.
71 public org.exolab.castor.mapping.AccessMode getAccessMode()
79 * @return the identity field, null if this class has no identity.
81 public org.exolab.castor.mapping.FieldDescriptor getIdentity()
83 return super.getIdentity();
87 * Method getJavaClass.
89 * @return the Java class represented by this descriptor.
91 public java.lang.Class getJavaClass()
93 return jalview.schemabinding.version2.Features.class;
97 * Method getNameSpacePrefix.
99 * @return the namespace prefix to use when marshaling as XML.
101 public java.lang.String getNameSpacePrefix()
107 * Method getNameSpaceURI.
109 * @return the namespace URI used when marshaling and unmarshaling as XML.
111 public java.lang.String getNameSpaceURI()
117 * Method getValidator.
119 * @return a specific validator for the class described by this
122 public org.exolab.castor.xml.TypeValidator getValidator()
130 * @return the XML Name for the Class being described.
132 public java.lang.String getXMLName()
138 * Method isElementDefinition.
140 * @return true if XML schema definition of this Class is that of a global
141 * element or element with anonymous type definition.
143 public boolean isElementDefinition()
145 return _elementDefinition;