public class TagElement extends Object
Constructor and Description |
---|
TagElement(Element an_element)
Creates the html tag element from the defintion, stored in the
given element.
|
TagElement(Element an_element,
boolean is_fictional)
Creates the html tag element from the defintion, stored in the
given element, setting the flag 'fictional' to the given value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
breaksFlow()
Calls breaksFlow() for the corresponding html tag and returns
the obtained value.
|
boolean |
fictional()
Get the value of the flag 'fictional'.
|
Element |
getElement()
Get the element from that the tag was constructed.
|
HTML.Tag |
getHTMLTag()
Get the corresponding HTML tag.
|
boolean |
isPreformatted()
Calls isPreformatted() for the corresponding html tag and returns
the obtained value.
|
String |
toString()
Returns string representation of this object.
|
public TagElement(Element an_element)
an_element
- public TagElement(Element an_element, boolean is_fictional)
public Element getElement()
public HTML.Tag getHTMLTag()
public boolean isPreformatted()
public boolean breaksFlow()
public boolean fictional()
public String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)