org.jscience.linguistics.kif
Class BasicXMLelement

java.lang.Object
  extended by org.jscience.linguistics.kif.BasicXMLelement

public class BasicXMLelement
extends java.lang.Object

A class designed to mirror the information in a basic XML tag.


Field Summary
 java.util.HashMap attributes
          The attributes of the tag in key=value form
 java.lang.String contents
          The contents between the start and end of this tag
 java.util.ArrayList subelements
          Any subelements of the tag, meaning any other tags that are nested within this one.
 java.lang.String tagname
          The name of the tag
 
Constructor Summary
BasicXMLelement()
           
 
Method Summary
 java.lang.String toString()
          Convert the XML element to a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tagname

public java.lang.String tagname
The name of the tag


attributes

public java.util.HashMap attributes
The attributes of the tag in key=value form


subelements

public java.util.ArrayList subelements
Any subelements of the tag, meaning any other tags that are nested within this one.


contents

public java.lang.String contents
The contents between the start and end of this tag

Constructor Detail

BasicXMLelement

public BasicXMLelement()
Method Detail

toString

public java.lang.String toString()
Convert the XML element to a String.

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!