ucl.physiol.neuroconstruct.utils.xml
Class SimpleXMLContent

java.lang.Object
  extended by ucl.physiol.neuroconstruct.utils.xml.SimpleXMLEntity
      extended by ucl.physiol.neuroconstruct.utils.xml.SimpleXMLContent

public class SimpleXMLContent
extends SimpleXMLEntity

Simple XML API. Note this is a very limited XML API, just enough to handle the current NeuroML/MorphML specs, and only tested with these. Not for use with general XML files

Author:
Padraig Gleeson

Field Summary
 
Fields inherited from class ucl.physiol.neuroconstruct.utils.xml.SimpleXMLEntity
mainFormattingColour
 
Constructor Summary
SimpleXMLContent(String text)
           
 
Method Summary
 void appendText(String extraText)
           
 String getText()
           
 String getXMLString(String indent, boolean formatted)
           
static void main(String[] args)
           
 void setText(String text)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleXMLContent

public SimpleXMLContent(String text)
Method Detail

setText

public void setText(String text)

appendText

public void appendText(String extraText)

getText

public String getText()

toString

public String toString()
Specified by:
toString in class SimpleXMLEntity

getXMLString

public String getXMLString(String indent,
                           boolean formatted)
Specified by:
getXMLString in class SimpleXMLEntity

main

public static void main(String[] args)