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, setValue
public boolean isValid()
isValid
in class PropertyType
public 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 PropertyType
ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2019. All rights reserved.