public class Property extends PropertyType implements Serializable
| Constructor and Description |
|---|
Property() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
static Property |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
getName, getValue, setName, setValuepublic boolean isValid()
isValid in class PropertyTypepublic void marshal(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(ContentHandler handler) throws IOException, MarshalException, ValidationException
handler - 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(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 PropertyTypeValidationException - if this
object is an invalid instance according to the schemaCopyright © 2016. All rights reserved.