|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.linguistics.kif.BasicXMLelement
public class BasicXMLelement
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 |
|---|
public java.lang.String tagname
public java.util.HashMap attributes
public java.util.ArrayList subelements
public java.lang.String contents
| Constructor Detail |
|---|
public BasicXMLelement()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||