uk.ac.ed.inf.taweka.mulan.xml
Class MulanLabel

java.lang.Object
  extended by uk.ac.ed.inf.utils.webutils.simpledomparser.XmlNode
      extended by uk.ac.ed.inf.taweka.mulan.xml.MulanLabel

public class MulanLabel
extends uk.ac.ed.inf.utils.webutils.simpledomparser.XmlNode

A node in the Mulan XML (a label for machine learning) *

Version:
5 May 2010
Author:
Luna De Ferrari luna.deferrari-at-ed.ac.uk

Constructor Summary
MulanLabel(java.lang.String labelName)
           
 
Method Summary
 void addChildElement(MulanLabel label)
          Add a child label to a label
 void addChildElement(java.lang.String labelName)
          Add a child label to a label
 
Methods inherited from class uk.ac.ed.inf.utils.webutils.simpledomparser.XmlNode
addChildNode, getAttributeValue, getChildElements, getTagName, getText, getXmlTreeFromString, getXmlTreeFromUrl, hasChildren, nodeHeadToString, removeAttribute, removeChildNode, setAttribute, setTagName, setText, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MulanLabel

public MulanLabel(java.lang.String labelName)
Method Detail

addChildElement

public void addChildElement(MulanLabel label)
Add a child label to a label

Parameters:
label - the child label (with its children etc.)

addChildElement

public void addChildElement(java.lang.String labelName)
Add a child label to a label

Parameters:
labelName - the name of the label to be added