be.lassi.pdf.tags
Class Tag
java.lang.Object
be.lassi.pdf.tags.Tag
- Direct Known Subclasses:
- A, B, BODY, BR, DIV, H, I, IMG, LI, OL, P, PRE, SPAN, TABLE, TD, TR, UL
public abstract class Tag
- extends java.lang.Object
Support html to pdf translation of specific html tag.
Method Summary |
void |
end()
Supports translation of closing tag. |
protected State |
getState()
Gets the current translation state. |
void |
start()
Supports translation of opening tag. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tag
public Tag(State state)
end
public void end()
throws java.lang.Exception
- Supports translation of closing tag.
- Throws:
java.lang.Exception
- if problem
getState
protected State getState()
- Gets the current translation state.
- Returns:
- the state
start
public void start()
throws java.lang.Exception
- Supports translation of opening tag.
- Throws:
java.lang.Exception
- if problem