This documentation is part of the Link Checker Library project.

de.tw.html.lexer
Class HTMLAttributes

java.lang.Object
  |
  +--de.tw.html.lexer.HTMLAttributes

public class HTMLAttributes
extends java.lang.Object

HTML Attributes implemented as a HashMap.

Version:
1.0
Author:
Thomas Weinbrenner

Constructor Summary
HTMLAttributes()
           
 
Method Summary
 void add(HTMLAttribute attribute)
          Adds a HTMLAttribute to the list.
 HTMLAttribute get(java.lang.String attributeName)
          Gets a attribute by name.
 java.util.Iterator iterator()
          Iterator over the Attributes.
 int size()
          Number of attributes.
 java.lang.String toString()
          Returns a HTML-style output representation of the attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTMLAttributes

public HTMLAttributes()
Method Detail

iterator

public java.util.Iterator iterator()
Iterator over the Attributes. The method next () gets objects of type HTMLAttribute.

add

public void add(HTMLAttribute attribute)
Adds a HTMLAttribute to the list.

size

public int size()
Number of attributes.

get

public HTMLAttribute get(java.lang.String attributeName)
Gets a attribute by name.

toString

public java.lang.String toString()
Returns a HTML-style output representation of the attributes.
Overrides:
toString in class java.lang.Object

This documentation is part of the Link Checker Library project.