spase.parser110
Class InformationURL

java.lang.Object
  extended by spase.parser110.XMLParser
      extended by spase.parser110.InformationURL

public class InformationURL
extends XMLParser

A container of InformationURL information.


Constructor Summary
InformationURL()
           
InformationURL(boolean forEdit)
           
InformationURL(org.w3c.dom.Node node)
           
 
Method Summary
 void dump()
           
static void dump(java.util.ArrayList<InformationURL> list)
           
 java.lang.String getDescription()
           
 XMLParser getMemberNode(java.lang.String name)
          Locates a node in a structure based on the the "name" associated with the member.
 java.lang.String getName()
           
 java.lang.String getURL()
           
 java.lang.String getXMLDocument(int n)
          Return a string containing an XML representation of this isntance.
 java.lang.String getXMLDocument(int n, java.lang.String path, int key)
          Return a string containing an XML representation of this isntance.
 void makeNewMember(java.lang.String item)
          Create a new member.
 void removeMember(java.lang.String item, int index)
          Remove an elment of a member.
 void reset()
           
 void setDescription(java.lang.String value)
           
 void setDescription(java.lang.String[] value)
           
 void setName(java.lang.String value)
           
 void setName(java.lang.String[] value)
           
 void setURL(java.lang.String value)
           
 void setURL(java.lang.String[] value)
           
 
Methods inherited from class spase.parser110.XMLParser
dumpData, dumpList, dumpNode, findNode, getAllValues, getBranchText, getClassName, getDefaultStyleSheet, getDocument, getElementPath, getMemberName, getMemberNodeIndex, getMemberNodeName, getMemberParent, getNodes, getNodes, getNodes, getNodeText, getPath, getPathName, getStringReader, getTagClose, getTaggedList, getTaggedValue, getTagOpen, getTopParent, getValues, getValues, indent, isInList, isMatch, load, load, load, main, makeEditNodes, makeTagContent, parseXML, parseXML, printXML, processNode, setClassName, setMember, setMember, setMember, toImproperCase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InformationURL

public InformationURL()

InformationURL

public InformationURL(boolean forEdit)

InformationURL

public InformationURL(org.w3c.dom.Node node)
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

reset

public void reset()

getMemberNode

public XMLParser getMemberNode(java.lang.String name)
Description copied from class: XMLParser
Locates a node in a structure based on the the "name" associated with the member. A "node" is a member of a class which also has members. To be implemented in each derived class. A name may have an option index. The full syntax is: "name[index]"

Overrides:
getMemberNode in class XMLParser
Parameters:
name - the name associated with a member.

makeNewMember

public void makeNewMember(java.lang.String item)
Description copied from class: XMLParser
Create a new member. To be implemented in each derived class.

Overrides:
makeNewMember in class XMLParser
Parameters:
item - the name of the member to create.

removeMember

public void removeMember(java.lang.String item,
                         int index)
Description copied from class: XMLParser
Remove an elment of a member. To be implemented in each derived class.

Overrides:
removeMember in class XMLParser
Parameters:
item - the name of the member to create.
index - the index of the element to remove.

getXMLDocument

public java.lang.String getXMLDocument(int n)
Description copied from class: XMLParser
Return a string containing an XML representation of this isntance. To be implemented in each derived class.

Overrides:
getXMLDocument in class XMLParser
Parameters:
n - the number of levels to indent the document.

getXMLDocument

public java.lang.String getXMLDocument(int n,
                                       java.lang.String path,
                                       int key)
Description copied from class: XMLParser
Return a string containing an XML representation of this isntance. To be implemented in each derived class.

Overrides:
getXMLDocument in class XMLParser
Parameters:
n - the number of levels to indent the document.
path - the path to the element.
key - the index (key) of the element at the path.

setName

public void setName(java.lang.String value)

setName

public void setName(java.lang.String[] value)

getName

public java.lang.String getName()

setURL

public void setURL(java.lang.String value)

setURL

public void setURL(java.lang.String[] value)

getURL

public java.lang.String getURL()

setDescription

public void setDescription(java.lang.String value)

setDescription

public void setDescription(java.lang.String[] value)

getDescription

public java.lang.String getDescription()

dump

public void dump()

dump

public static void dump(java.util.ArrayList<InformationURL> list)