Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.exolab.castor.tests.framework.testDescriptor.StringType
org.exolab.castor.tests.framework.testDescriptor.RootType
org.exolab.castor.tests.framework.testDescriptor.Root_Object
Constructor Summary | |
Method Summary | |
boolean |
|
void |
|
void |
|
static StringType |
|
void |
|
Methods inherited from class org.exolab.castor.tests.framework.testDescriptor.RootType | |
deleteDump , deleteRandom , getContent , getDump , getRandom , hasDump , hasRandom , isDump , isRandom , isValid , marshal , marshal , setContent , setDump , setRandom , unmarshal , validate |
Methods inherited from class org.exolab.castor.tests.framework.testDescriptor.StringType | |
getContent , isValid , marshal , marshal , setContent , unmarshal , validate |
public boolean isValid()
Method isValid.
- 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 StringType unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshal.
- Parameters:
reader
-
- Returns:
- the unmarshaled org.exolab.castor.tests.framework.testDescriptor.StringType
- 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
- Throws:
ValidationException
- if this object is an invalid instance according to the schema