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.FailureType
org.exolab.castor.tests.framework.testDescriptor.Failure
Constructor Summary | |
|
Method Summary | |
boolean |
|
void |
|
void |
|
static FailureType |
|
void |
|
Methods inherited from class org.exolab.castor.tests.framework.testDescriptor.FailureType | |
deleteContent , getContent , getException , getFailureStep , hasContent , isContent , isValid , marshal , marshal , setContent , setException , setFailureStep , unmarshal , validate |
public boolean isValid()
Method isValid.
- Overrides:
- isValid in interface FailureType
- Returns:
- true if this object is valid according to the schema
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
- Overrides:
- marshal in interface FailureType
- 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
- Overrides:
- marshal in interface FailureType
- 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 FailureType unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshal.
- Overrides:
- unmarshal in interface FailureType
- Parameters:
reader
-
- Returns:
- the unmarshaled org.exolab.castor.tests.framework.testDescriptor.FailureType
- 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 FailureType
- Throws:
ValidationException
- if this object is an invalid instance according to the schema