|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rometools.feed.opml.Outline
public class Outline
This class represents an OPML outline element.
Constructor Summary | |
---|---|
Outline()
Creates a new instance of Outline |
|
Outline(String type,
String text)
Creates a new outline with the specified type and text values. |
|
Outline(String title,
URL xmlUrl,
URL htmlUrl)
Creates an outline with the given title, xmlUrl and htmlUrl. |
Method Summary | |
---|---|
Object |
clone()
|
boolean |
equals(Object obj)
|
List |
getAttributes()
List of attributes on this outline excluding the "common types" for the specification. |
String |
getAttributeValue(String name)
Returns the value of an attribute on the outline or null. |
List |
getCategories()
(OPML 2) A List of Strings indicating values in the category attribute. |
List |
getChildren()
A list of sub-outlines for this entry. |
Date |
getCreated()
(OPML 2) created is the date-time that the outline node was created. |
String |
getHtmlUrl()
A convenience method to return the value of the htmlUrl attribute. |
List |
getModules()
|
String |
getText()
The "text" attribute of the outline. |
String |
getTitle()
The "title" attribute of the outline. |
String |
getType()
The "type" attribute of the outline. |
String |
getUrl()
A convenience method to return the value of the url attribute. |
String |
getXmlUrl()
A convenience method to return the value of the xmlUrl attribute. |
int |
hashCode()
|
boolean |
isBreakpoint()
isBreakpoint is a string, either "true" or "false", indicating whether a breakpoint is set on this outline. |
boolean |
isComment()
isComment is a string, either "true" or "false", indicating whether the outline is commented or not. |
void |
setAttributes(List attributes)
List of attributes on this outline excluding the "common types" for the specification. |
void |
setBreakpoint(boolean breakpoint)
isBreakpoint is a string, either "true" or "false", indicating whether a breakpoint is set on this outline. |
void |
setCategories(List categories)
(OPML 2) A List of Strings indicating values in the category attribute. |
void |
setChildren(List children)
A list of sub-outlines for this entry. |
void |
setComment(boolean comment)
isComment is a string, either "true" or "false", indicating whether the outline is commented or not. |
void |
setCreated(Date created)
(OPML 2) created is the date-time that the outline node was created. |
void |
setModules(List modules)
|
void |
setText(String text)
The "text" attribute of the outline. |
void |
setTitle(String title)
The "title" attribute of the outline. |
void |
setType(String type)
The "type" attribute of the outline. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Outline()
public Outline(String type, String text)
type
- type attribute value/text
- text attribute valuepublic Outline(String title, URL xmlUrl, URL htmlUrl)
title
- Title of the entry.xmlUrl
- link to XML file.htmlUrl
- link to html page.Method Detail |
---|
public void setAttributes(List attributes)
attributes
- List of attributes on this outline.public List getAttributes()
public void setBreakpoint(boolean breakpoint)
breakpoint
- whether a breakpoint is set on this outline.public boolean isBreakpoint()
public void setCategories(List categories)
categories
- (OPML 2) A List of Strings indicating values in the category attribute.public List getCategories()
public void setChildren(List children)
children
- A list of sub-outlines for this entry.public List getChildren()
public void setComment(boolean comment)
comment
- whether the outline is commentedpublic boolean isComment()
public void setCreated(Date created)
created
- date-time that the outline node was created.public Date getCreated()
public String getUrl()
public String getHtmlUrl()
public void setModules(List modules)
public List getModules()
public void setText(String text)
text
- The "text" attribute of the outline.public String getText()
public void setTitle(String title)
title
- The "title" attribute of the outline.public String getTitle()
public void setType(String type)
type
- The "type" attribute of the outline.public String getType()
public String getXmlUrl()
public String getAttributeValue(String name)
name
- name of the attribute.public Object clone()
clone
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |