com.jfw.pdf
Class TagElement
java.lang.Object
com.jfw.pdf.TagElement
- Direct Known Subclasses:
- TagBody, TagTable, TagTd, TagTr
public abstract class TagElement
- extends java.lang.Object
Estesa da tutte le classi che effettuano il parsing dei tag.
Fornisce i metodi per il parsing dei tag.
Method Summary |
protected int |
endTagIndex(java.lang.String html,
java.lang.String endTag,
int endTagLen)
|
protected java.util.HashMap |
getAttributes(java.lang.String html)
|
abstract java.lang.String |
getInnerHtml(java.lang.String html)
|
protected java.lang.String |
getInnerHtml(java.lang.String html,
java.lang.String startTag,
int startTagLen,
java.lang.String endTag,
int endTagLen)
|
abstract java.util.Vector |
getSequentialTags(java.lang.String html)
|
protected java.util.Vector |
getSequentialTags(java.lang.String html,
java.lang.String startTag,
int startTagLen,
java.lang.String endTag,
int endTagLen)
|
abstract void |
parseIt(java.lang.String html,
java.lang.Object parent)
|
protected int |
startTagCloseIndex(java.lang.String html,
int startTagIndex)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected JFWLogger logger
className
protected java.lang.String className
TagElement
public TagElement()
startTagCloseIndex
protected int startTagCloseIndex(java.lang.String html,
int startTagIndex)
endTagIndex
protected int endTagIndex(java.lang.String html,
java.lang.String endTag,
int endTagLen)
getAttributes
protected java.util.HashMap getAttributes(java.lang.String html)
getInnerHtml
protected java.lang.String getInnerHtml(java.lang.String html,
java.lang.String startTag,
int startTagLen,
java.lang.String endTag,
int endTagLen)
getSequentialTags
protected java.util.Vector getSequentialTags(java.lang.String html,
java.lang.String startTag,
int startTagLen,
java.lang.String endTag,
int endTagLen)
parseIt
public abstract void parseIt(java.lang.String html,
java.lang.Object parent)
throws JFWGenericException
- Throws:
JFWGenericException
getInnerHtml
public abstract java.lang.String getInnerHtml(java.lang.String html)
getSequentialTags
public abstract java.util.Vector getSequentialTags(java.lang.String html)