org.apache.jetspeed.xml.api.jcm
Class Item
java.lang.Object
org.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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Item
public Item()
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.