org.exolab.castor.mapping.xml
public class Property extends PropertyType implements java.io.Serializable
Constructor and Description |
---|
Property() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
Method isValid.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
static Property |
unmarshal(java.io.Reader reader)
Method unmarshal.
|
void |
validate() |
getName, getValue, setName, setValue
public boolean isValid()
isValid
in class PropertyType
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
- java.io.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 marshalingpublic static Property unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
validate
in class PropertyType
ValidationException
- if this
object is an invalid instance according to the schemaIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com