public class Bookmark
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Bookmark() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText()
Returns the value of field 'text'.
|
XmlEntity |
getXmlEntity()
Returns the value of field 'xmlEntity'.
|
boolean |
isValid()
Method isValid
|
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal
|
void |
marshal(java.io.Writer out)
Method marshal
|
void |
setText(java.lang.String text)
Sets the value of field 'text'.
|
void |
setXmlEntity(XmlEntity xmlEntity)
Sets the value of field 'xmlEntity'.
|
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public java.lang.String getText()
public XmlEntity getXmlEntity()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void setText(java.lang.String text)
text
- the value of field 'text'.public void setXmlEntity(XmlEntity xmlEntity)
xmlEntity
- the value of field 'xmlEntity'.public static java.lang.Object unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException