treebolic.provider.xml.fast
Class Tag

java.lang.Object
  extended by treebolic.provider.xml.fast.Tag

 class Tag
extends java.lang.Object

HTML tag

Author:
Bernard Bou

Field Summary
 boolean open
          Whether tag is or
 boolean standalone
          Whether tag is
 java.util.Hashtable<java.lang.String,java.lang.String> theAttributes
          Attributes
 java.lang.String theName
          Tag name
 boolean unclosed
          Whether tag is
 
Constructor Summary
protected Tag(java.lang.String thisName)
          Constructor
 
Method Summary
 java.lang.String getAttribute(java.lang.String thisName)
          Get attribute
static Tag makeTag(java.lang.String thisTagString)
          Make tag from string
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

theName

public java.lang.String theName
Tag name


theAttributes

public java.util.Hashtable<java.lang.String,java.lang.String> theAttributes
Attributes


open

public boolean open
Whether tag is or


standalone

public boolean standalone
Whether tag is


unclosed

public boolean unclosed
Whether tag is

Constructor Detail

Tag

protected Tag(java.lang.String thisName)
Constructor

Parameters:
thisName - tag name
Method Detail

makeTag

public static Tag makeTag(java.lang.String thisTagString)
Make tag from string

Parameters:
thisTagString - tag string
Returns:
tag

getAttribute

public java.lang.String getAttribute(java.lang.String thisName)
Get attribute

Parameters:
thisName - name
Returns:
value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object