HtmlTag(String name, boolean block, boolean hidden, boolean replaced) Creates a new Tag with the specified id;
causesBreak and isBlock are defined
by the user.
Parameters: name - the name of the new tag, such as "table" or "blink" Parameters: block - true if the tag is usedto add structure to a document Parameters: hidden - true if the tag should be hidden inthe visual designer Parameters: replaced - true if the tag is a replacedelement.
isBlockTag() Returns true if this tag is a block
tag, which is a tag used to add structure to a
document.
public boolean
isFormMemberTag() Return true iff this tag is a tag that participates in a form, such
as <input>.
public boolean
isHiddenTag() Is this a tag which should be completely hidden?
Returns true if this tag is a tag that should
be hidden in the webform designer - such as the script tag.
public boolean
isInlineTag() Returns true if this tag is an inline
tag, which is a tag used to add content to lines.
public boolean
isReplacedTag() Returns true if this tag represents a replaced
element.
Creates a new Tag with the specified id;
causesBreak and isBlock are defined
by the user.
Parameters: name - the name of the new tag, such as "table" or "blink" Parameters: block - true if the tag is usedto add structure to a document Parameters: hidden - true if the tag should be hidden inthe visual designer Parameters: replaced - true if the tag is a replacedelement. See isReplaced() for a description of replaced elements.
Return true iff this tag is a tag that participates in a form, such
as <input>. Note that the <form> tag itself is not considered
a form member tag.
true iff this tag is a form member tag
Is this a tag which should be completely hidden?
Returns true if this tag is a tag that should
be hidden in the webform designer - such as the script tag.
WARNING: Use this carefully! You cannot tell from a tag alone if it's hidden.
HtmlTag.INPUT is hidden whenever @type != "hidden" for example.
Returns true if this tag represents a replaced
element. A replaced element is, according to
http://www.w3.org/TR/REC-CSS2/conform.html, 'An element for which
the CSS formatter knows only the intrinsic dimensions. In HTML,
IMG, INPUT, TEXTAREA, SELECT, and OBJECT elements can be examples
of replaced elements. For example, the content of the IMG element
is often replaced by the image that the "src" attribute
designates. CSS does not define how the intrinsic dimensions are
found.'
isTableChild
public static boolean isTableChild(String tag)(Code)