FileDocCategorySizeDatePackage
TagElement.javaAPI DocJava SE 5 API1179Fri Aug 26 14:58:20 BST 2005javax.swing.text.html.parser

TagElement

public class TagElement extends Object
A generic HTML TagElement class. The methods define how white space is interpreted around the tag.
version
1.11, 12/19/03
author
Sunita Mani

Fields Summary
Element
elem
HTML$Tag
htmlTag
boolean
insertedByErrorRecovery
Constructors Summary
public TagElement(Element elem)

	this(elem, false);
    
public TagElement(Element elem, boolean fictional)

	this.elem = elem;
	htmlTag = HTML.getTag(elem.getName());
	if (htmlTag == null) {
	    htmlTag = new HTML.UnknownTag(elem.getName());
	}
	insertedByErrorRecovery = fictional;
    
Methods Summary
public booleanbreaksFlow()

	return htmlTag.breaksFlow();
    
public booleanfictional()

	return insertedByErrorRecovery;
    
public javax.swing.text.html.parser.ElementgetElement()

	return elem;
    
public javax.swing.text.html.HTML$TaggetHTMLTag()

	return htmlTag;
    
public booleanisPreformatted()

	return htmlTag.isPreformatted();