The second argument to the handleStartTag() and handleSimpletag() callback methods is an instance of the javax.swing.text.MutableAttributeSet class which allows you to see what attributes are attached to a particular tag.

public abstract interface MutableAttributeSet extends AttributeSet

The AttributeSet interface declares these methods:

public int getAttributeCount()
public boolean isDefined(Object name)
public boolean containsAttribute(Object name, Object value)
public boolean containsAttributes(AttributeSet attributes)
public boolean isEqual(AttributeSet attributes)
public AttributeSet copyAttributes()
public Enumeration getAttributeNames()
public Object getAttribute(Object name)

public AttributeSet getResolveParent()

Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
Last Modified January 28, 2000