public class DistanceType extends Object implements Serializable
| Constructor and Description |
|---|
DistanceType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getUnits()
Returns the value of field 'units'.
|
boolean |
isValid()
Method isValid
|
void |
marshal(ContentHandler handler)
Method marshal
|
void |
marshal(Writer out)
Method marshal
|
void |
setUnits(String units)
Sets the value of field 'units'.
|
static DistanceType |
unmarshal(Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public String getUnits()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler - IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void setUnits(String units)
units - the value of field 'units'.public static DistanceType unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationExceptionCopyright © 2021 B3Partners B.V.. All rights reserved.