Public Member Functions | |
FieldType () | |
void | deleteWrapper () |
org.exolab.castor.builder.binding.types.FieldTypeCollectionType | getCollection () |
java.lang.String | getHandler () |
java.lang.String | getJavaType () |
java.lang.String | getName () |
java.lang.String | getValidator () |
boolean | getWrapper () |
boolean | hasWrapper () |
boolean | isValid () |
void | marshal (java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException |
void | marshal (org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException |
void | setCollection (org.exolab.castor.builder.binding.types.FieldTypeCollectionType collection) |
void | setHandler (java.lang.String handler) |
void | setJavaType (java.lang.String javaType) |
void | setName (java.lang.String name) |
void | setValidator (java.lang.String validator) |
void | setWrapper (boolean wrapper) |
void | validate () throws org.exolab.castor.xml.ValidationException |
Static Public Member Functions | |
static org.exolab.castor.builder.binding.FieldType | unmarshalFieldType (java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException |
This type represents the binding for class member. It allows the definition of its name and java type as well as an implementation of FieldHandler to help the Marshalling framework in handling that member. Defining a validator is also possible. The names given for the validator and the fieldHandler must be fully qualified
org.exolab.castor.builder.binding.FieldType.FieldType | ( | ) |
void org.exolab.castor.builder.binding.FieldType.deleteWrapper | ( | ) |
org.exolab.castor.builder.binding.types.FieldTypeCollectionType org.exolab.castor.builder.binding.FieldType.getCollection | ( | ) |
Returns the value of field 'collection'.
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor(), and org.exolab.castor.builder.binding.XMLBindingComponent.getCollectionType().
java.lang.String org.exolab.castor.builder.binding.FieldType.getHandler | ( | ) |
Returns the value of field 'handler'.
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor(), and org.exolab.castor.builder.binding.XMLBindingComponent.getXMLFieldHandler().
java.lang.String org.exolab.castor.builder.binding.FieldType.getJavaType | ( | ) |
Returns the value of field 'javaType'.
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor(), and org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType().
java.lang.String org.exolab.castor.builder.binding.FieldType.getName | ( | ) |
Returns the value of field 'name'.
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor(), and org.exolab.castor.builder.binding.XMLBindingComponent.getJavaMemberName().
java.lang.String org.exolab.castor.builder.binding.FieldType.getValidator | ( | ) |
Returns the value of field 'validator'.
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor(), and org.exolab.castor.builder.binding.XMLBindingComponent.getValidator().
boolean org.exolab.castor.builder.binding.FieldType.getWrapper | ( | ) |
Returns the value of field 'wrapper'.
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor(), and org.exolab.castor.builder.binding.XMLBindingComponent.useWrapper().
boolean org.exolab.castor.builder.binding.FieldType.hasWrapper | ( | ) |
boolean org.exolab.castor.builder.binding.FieldType.isValid | ( | ) |
void org.exolab.castor.builder.binding.FieldType.marshal | ( | java.io.Writer | out | ) | throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException |
out |
void org.exolab.castor.builder.binding.FieldType.marshal | ( | org.xml.sax.ContentHandler | handler | ) | throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException |
handler |
void org.exolab.castor.builder.binding.FieldType.setCollection | ( | org.exolab.castor.builder.binding.types.FieldTypeCollectionType | collection | ) |
Sets the value of field 'collection'.
collection | the value of field 'collection'. |
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor().
void org.exolab.castor.builder.binding.FieldType.setHandler | ( | java.lang.String | handler | ) |
Sets the value of field 'handler'.
handler | the value of field 'handler'. |
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor().
void org.exolab.castor.builder.binding.FieldType.setJavaType | ( | java.lang.String | javaType | ) |
Sets the value of field 'javaType'.
javaType | the value of field 'javaType'. |
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor().
void org.exolab.castor.builder.binding.FieldType.setName | ( | java.lang.String | name | ) |
Sets the value of field 'name'.
name | the value of field 'name'. |
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor().
void org.exolab.castor.builder.binding.FieldType.setValidator | ( | java.lang.String | validator | ) |
Sets the value of field 'validator'.
validator | the value of field 'validator'. |
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor().
void org.exolab.castor.builder.binding.FieldType.setWrapper | ( | boolean | wrapper | ) |
Sets the value of field 'wrapper'.
wrapper | the value of field 'wrapper'. |
Referenced by org.exolab.castor.builder.binding.FieldTypeDescriptor.FieldTypeDescriptor().
static org.exolab.castor.builder.binding.FieldType org.exolab.castor.builder.binding.FieldType.unmarshalFieldType | ( | java.io.Reader | reader | ) | throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException [static] |
reader |
void org.exolab.castor.builder.binding.FieldType.validate | ( | ) | throws org.exolab.castor.xml.ValidationException |
Referenced by org.exolab.castor.builder.binding.FieldType.isValid().