org.exolab.castor.builder.types
public class XSClass extends XSType
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:07:55 $
Constructor Summary | |
---|---|
XSClass(JClass jClass)
Creates a new XSClass with the given JClass reference | |
XSClass(JClass jClass, String schemaTypeName)
Creates a new XSClass with the given JClass reference |
Method Summary | |
---|---|
JType | getJType()
Returns the JType that this XSType represents |
String | getName() |
void | setFacets(SimpleType simpleType) |
void | validationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType. |
Parameters: jClass the JClass type of this XSClass
Parameters: jClass the JClass associated with this XSType schemaTypeName The XML Schema type name
Returns: the JType that this XSType represents
Parameters: fixedValue a fixed value to use if any jsc the JSourceCode to fill in. fieldValidatorInstanceName the name of the FieldValidator that the configured TypeValidator should be added to.