Package org.exolab.castor.mapping.xml
Class Property
java.lang.Object
org.exolab.castor.mapping.xml.PropertyType
org.exolab.castor.mapping.xml.Property
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exolab.castor.mapping.xml.PropertyType
getName, getValue, setName, setValue
-
Constructor Details
-
Property
public Property()
-
-
Method Details
-
isValid
public boolean isValid()Method isValid.- Overrides:
isValid
in classPropertyType
- Returns:
- true if this object is valid according to the schema
-
marshal
- 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
-
marshal
public void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException - Parameters:
handler
-- Throws:
IOException
- if an IOException occurs during marshalingValidationException
- if this object is an invalid instance according to the schemaMarshalException
- if object is null or if any SAXException is thrown during marshaling
-
unmarshal
Method unmarshal.- Parameters:
reader
-- Returns:
- the unmarshaled org.exolab.castor.mapping.xml.Propert
- 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
-
validate
- Overrides:
validate
in classPropertyType
- Throws:
ValidationException
- if this object is an invalid instance according to the schema
-