org.apache.jetspeed.xml.api.jcm
Class Quote

java.lang.Object
  extended byorg.apache.jetspeed.xml.api.jcm.Quote
All Implemented Interfaces:
java.io.Serializable

public class Quote
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Quote()
           
 
Method Summary
 java.lang.String getAuthor()
           
 java.lang.String getLink()
           
 java.lang.String getP()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setAuthor(java.lang.String author)
           
 void setLink(java.lang.String link)
           
 void setP(java.lang.String p)
           
static Quote unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Quote

public Quote()
Method Detail

getAuthor

public java.lang.String getAuthor()

getLink

public java.lang.String getLink()

getP

public java.lang.String getP()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setAuthor

public void setAuthor(java.lang.String author)
Parameters:
author -

setLink

public void setLink(java.lang.String link)
Parameters:
link -

setP

public void setP(java.lang.String p)
Parameters:
p -

unmarshal

public static Quote unmarshal(java.io.Reader reader)
                       throws org.exolab.castor.xml.MarshalException,
                              org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.