| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.exolab.castor.mapping.xml.PropertyTypeorg.exolab.castor.mapping.xml.PropertyConstructor Summary | |
| |
Method Summary | |
boolean |
|
void |
|
void |
|
static PropertyType |
|
void |
|
Methods inherited from class org.exolab.castor.mapping.xml.PropertyType | |
getName, getValue, isValid, setName, setValue, validate | |
public boolean isValid()
Method isValid.
- Overrides:
- isValid in interface PropertyType
- Returns:
- true if this object is valid according to the schema
public void marshal(java.io.Writer out)
throws MarshalException,
ValidationException
- Parameters:
out-
- Throws:
MarshalException- if object is null or if any SAXException is thrown during marshalingValidationException- if this object is an invalid instance according to the schema
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
MarshalException,
ValidationException
- Parameters:
handler-
- Throws:
ValidationException- if this object is an invalid instance according to the schemaMarshalException- if object is null or if any SAXException is thrown during marshaling
public static PropertyType unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshal.
- Parameters:
reader-
- Returns:
- the unmarshaled org.exolab.castor.mapping.xml.PropertyType
- Throws:
MarshalException- if object is null or if any SAXException is thrown during marshalingValidationException- if this object is an invalid instance according to the schema
public void validate()
throws ValidationException
- Overrides:
- validate in interface PropertyType
- Throws:
ValidationException- if this object is an invalid instance according to the schema