public class Bookmark extends Object implements Serializable
| Constructor and Description |
|---|
Bookmark() |
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Returns the value of field 'text'.
|
XmlEntity |
getXmlEntity()
Returns the value of field 'xmlEntity'.
|
boolean |
isValid()
Method isValid
|
void |
marshal(ContentHandler handler)
Method marshal
|
void |
marshal(Writer out)
Method marshal
|
void |
setText(String text)
Sets the value of field 'text'.
|
void |
setXmlEntity(XmlEntity xmlEntity)
Sets the value of field 'xmlEntity'.
|
static Object |
unmarshal(Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public String getText()
public XmlEntity getXmlEntity()
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 setText(String text)
text - the value of field 'text'.public void setXmlEntity(XmlEntity xmlEntity)
xmlEntity - the value of field 'xmlEntity'.public static Object 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.ValidationException