org.virbo.autoplot
Class Bookmark

java.lang.Object
  extended by org.virbo.autoplot.Bookmark

public class Bookmark
extends java.lang.Object


Constructor Summary
Bookmark(java.lang.String surl)
          Creates a new instance of Bookmark
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
          Adds a PropertyChangeListener to the listener list.
 boolean equals(java.lang.Object obj)
           
static java.lang.String formatBooks(java.util.List<Bookmark> bookmarks)
           
 java.lang.String getTitle()
          Getter for property title.
 java.lang.String getUrl()
          Getter for property url.
 int hashCode()
           
static void main(java.lang.String[] args)
           
static java.util.List<Bookmark> parseBookmarks(org.w3c.dom.Document doc)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
          Removes a PropertyChangeListener from the listener list.
 void setTitle(java.lang.String title)
          Setter for property title.
 void setUrl(java.lang.String url)
          Setter for property url.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bookmark

public Bookmark(java.lang.String surl)
Creates a new instance of Bookmark

Method Detail

parseBookmarks

public static java.util.List<Bookmark> parseBookmarks(org.w3c.dom.Document doc)

formatBooks

public static java.lang.String formatBooks(java.util.List<Bookmark> bookmarks)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list.

Parameters:
l - The listener to add.

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list.

Parameters:
l - The listener to remove.

getTitle

public java.lang.String getTitle()
Getter for property title.

Returns:
Value of property title.

setTitle

public void setTitle(java.lang.String title)
Setter for property title.

Parameters:
title - New value of property title.

getUrl

public java.lang.String getUrl()
Getter for property url.

Returns:
Value of property url.

setUrl

public void setUrl(java.lang.String url)
Setter for property url.

Parameters:
url - New value of property url.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object