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

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

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

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

Constructor Summary
Item()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getLink()
           
 java.lang.String getPubDate()
           
 Quote getQuote()
           
 java.lang.String getTitle()
           
 java.lang.String getTopic()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setDescription(java.lang.String description)
           
 void setLink(java.lang.String link)
           
 void setPubDate(java.lang.String pubDate)
           
 void setQuote(Quote quote)
           
 void setTitle(java.lang.String title)
           
 void setTopic(java.lang.String topic)
           
static Item 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

Item

public Item()
Method Detail

getDescription

public java.lang.String getDescription()

getLink

public java.lang.String getLink()

getPubDate

public java.lang.String getPubDate()

getQuote

public Quote getQuote()

getTitle

public java.lang.String getTitle()

getTopic

public java.lang.String getTopic()

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

setDescription

public void setDescription(java.lang.String description)
Parameters:
description -

setLink

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

setPubDate

public void setPubDate(java.lang.String pubDate)
Parameters:
pubDate -

setQuote

public void setQuote(Quote quote)
Parameters:
quote -

setTitle

public void setTitle(java.lang.String title)
Parameters:
title -

setTopic

public void setTopic(java.lang.String topic)
Parameters:
topic -

unmarshal

public static Item 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.