com.partnersoft.gui
Class HTMLLib

java.lang.Object
  extended by com.partnersoft.gui.HTMLLib

public class HTMLLib
extends java.lang.Object

This has more to do with Swing's JEditorPane than with HTML in general.

Author:
Russell Cagle Copyright 2006 Partner Software, Inc.

Field Summary
static java.lang.String EMBEDDED_CSS
           
 
Constructor Summary
HTMLLib()
           
 
Method Summary
static java.lang.String getAttribute(javax.swing.text.Element element, java.lang.String attribute)
          Getting an attribute out of an element is a pain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMBEDDED_CSS

public static java.lang.String EMBEDDED_CSS
Constructor Detail

HTMLLib

public HTMLLib()
Method Detail

getAttribute

public static java.lang.String getAttribute(javax.swing.text.Element element,
                                            java.lang.String attribute)
Getting an attribute out of an element is a pain. This takes care of it for us.

Parameters:
element -
attribute - ignores case.
Returns: