org.apache.jetspeed.xml.api.jcm
Class Channel
java.lang.Object
org.apache.jetspeed.xml.api.jcm.Channel
- All Implemented Interfaces:
- java.io.Serializable
- public class Channel
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Channel
public Channel()
addItem
public void addItem(Item vItem)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vItem
-
- Throws:
java.lang.IndexOutOfBoundsException
enumerateItem
public java.util.Enumeration enumerateItem()
getCopyright
public java.lang.String getCopyright()
getDescription
public java.lang.String getDescription()
getDocs
public java.lang.String getDocs()
getImage
public Image getImage()
getItem
public Item getItem(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-
- Throws:
java.lang.IndexOutOfBoundsException
getItem
public Item[] getItem()
getItemCount
public int getItemCount()
getLanguage
public java.lang.String getLanguage()
getLastBuildDate
public java.lang.String getLastBuildDate()
getLink
public java.lang.String getLink()
getManagingEditor
public java.lang.String getManagingEditor()
getPubDate
public java.lang.String getPubDate()
getRating
public java.lang.String getRating()
getTextinput
public Textinput getTextinput()
getTitle
public java.lang.String getTitle()
getTopics
public Topics getTopics()
getWebMaster
public java.lang.String getWebMaster()
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
removeAllItem
public void removeAllItem()
removeItem
public Item removeItem(int index)
- Parameters:
index
-
setCopyright
public void setCopyright(java.lang.String copyright)
- Parameters:
copyright
-
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
-
setDocs
public void setDocs(java.lang.String docs)
- Parameters:
docs
-
setImage
public void setImage(Image image)
- Parameters:
image
-
setItem
public void setItem(int index,
Item vItem)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vItem
-
- Throws:
java.lang.IndexOutOfBoundsException
setItem
public void setItem(Item[] itemArray)
- Parameters:
itemArray
-
setLanguage
public void setLanguage(java.lang.String language)
- Parameters:
language
-
setLastBuildDate
public void setLastBuildDate(java.lang.String lastBuildDate)
- Parameters:
lastBuildDate
-
setLink
public void setLink(java.lang.String link)
- Parameters:
link
-
setManagingEditor
public void setManagingEditor(java.lang.String managingEditor)
- Parameters:
managingEditor
-
setPubDate
public void setPubDate(java.lang.String pubDate)
- Parameters:
pubDate
-
setRating
public void setRating(java.lang.String rating)
- Parameters:
rating
-
setTextinput
public void setTextinput(Textinput textinput)
- Parameters:
textinput
-
setTitle
public void setTitle(java.lang.String title)
- Parameters:
title
-
setTopics
public void setTopics(Topics topics)
- Parameters:
topics
-
setWebMaster
public void setWebMaster(java.lang.String webMaster)
- Parameters:
webMaster
-
unmarshal
public static Channel 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.