org.melati.util
Class HTMLUtils.TagInstance

java.lang.Object
  extended by org.melati.util.HTMLUtils.TagInstance
Enclosing class:
HTMLUtils

public static class HTMLUtils.TagInstance
extends java.lang.Object

An Instance of a tag.


Field Summary
 javax.swing.text.AttributeSet attributes
          Its attributes.
 javax.swing.text.html.HTML.Tag tag
          The tag.
 
Constructor Summary
HTMLUtils.TagInstance(javax.swing.text.html.HTML.Tag tag, javax.swing.text.AttributeSet attributes)
          Constructor.
 
Method Summary
 java.lang.String toString()
          A String representation.
 void write(java.io.Writer w)
          Write tag to specified Writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tag

public final javax.swing.text.html.HTML.Tag tag
The tag.


attributes

public final javax.swing.text.AttributeSet attributes
Its attributes.

Constructor Detail

HTMLUtils.TagInstance

public HTMLUtils.TagInstance(javax.swing.text.html.HTML.Tag tag,
                             javax.swing.text.AttributeSet attributes)
Constructor.

Method Detail

write

public void write(java.io.Writer w)
           throws java.io.IOException
Write tag to specified Writer.

Parameters:
w - The Writer to write to.
Throws:
java.io.IOException

toString

public java.lang.String toString()
A String representation.

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2000-2008 PanEris. All Rights Reserved.