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.ListenerType
org.exolab.castor.tests.framework.testDescriptor.Listener
Constructor Summary | |
|
Method Summary | |
boolean |
|
void |
|
void |
|
static ListenerType |
|
void |
|
Methods inherited from class org.exolab.castor.tests.framework.testDescriptor.ListenerType | |
getClassName , getGoldFile , getType , isValid , marshal , marshal , setClassName , setGoldFile , setType , unmarshal , validate |
public boolean isValid()
Method isValid.
- Overrides:
- isValid in interface ListenerType
- 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 ListenerType
- 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 ListenerType
- 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 ListenerType unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshal.
- Overrides:
- unmarshal in interface ListenerType
- Parameters:
reader
-
- Returns:
- the unmarshaled org.exolab.castor.tests.framework.testDescriptor.ListenerType
- 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 ListenerType
- Throws:
ValidationException
- if this object is an invalid instance according to the schema