|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.bot.html.HTMLTag
public class HTMLTag
HTMLTag: This class holds a single HTML tag. This class subclasses the AttributeList class. This allows the HTMLTag class to hold a collection of attributes, just as an actual HTML tag does.
| Constructor Summary | |
|---|---|
HTMLTag()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clear the HTML tag. |
java.lang.String |
getAttributeValue(java.lang.String name)
Get the value of the specified attribute. |
java.lang.String |
getName()
Get the tag name. |
boolean |
isEnding()
|
void |
setAttribute(java.lang.String name,
java.lang.String value)
Set a HTML attribute. |
void |
setEnding(boolean ending)
|
void |
setName(java.lang.String s)
Set the tag name. |
java.lang.String |
toString()
Convert this tag back into string form, with the beginning < and ending >. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLTag()
| Method Detail |
|---|
public void clear()
public java.lang.String getAttributeValue(java.lang.String name)
name - The name of an attribute.
public java.lang.String getName()
public boolean isEnding()
public void setAttribute(java.lang.String name,
java.lang.String value)
name - The name of the attribute.value - The value of the attribute.public void setEnding(boolean ending)
ending - The ending to set.public void setName(java.lang.String s)
s - The name.public java.lang.String toString()
toString in class java.lang.Object
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||