|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.harvard.hul.ois.jhove.module.html.JHElement
Abstract superclass for the representation of portions of an HTML file. This is not the same usage of "element" as the SGML definition, but refers to a parsed unit, such as an opening tag, closing tag, or PCDATA.
Field Summary | |
int |
_column
|
int |
_line
|
Constructor Summary | |
JHElement(java.util.List elements)
Constructor. |
Method Summary | |
int |
getColumn()
Returns the column number for the start of the element. |
protected java.util.List |
getEntities(java.lang.String text)
Extracts entities from a text string and returns them as a List of Strings. |
int |
getLine()
Returns the line number for the start of the element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int _column
public int _line
Constructor Detail |
public JHElement(java.util.List elements)
elements
- List of elements representing the document.
May be null for a stub element which is implied
rather than being generated by the parser.Method Detail |
public int getLine()
public int getColumn()
protected java.util.List getEntities(java.lang.String text)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |