|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.htmlparser.nodeDecorators.AbstractNodeDecorator
org.htmlparser.nodeDecorators.DecodingNode
Use either direct subclasses of the appropriate node and set them on the
PrototypicalNodeFactory,
or use a dynamic proxy implementing the required node type interface.
AbstractNodeDecorator| Field Summary |
| Fields inherited from class org.htmlparser.nodeDecorators.AbstractNodeDecorator |
delegate |
| Constructor Summary | |
DecodingNode(Text node)
Deprecated. |
|
| Method Summary | |
java.lang.String |
toPlainTextString()
Deprecated. A string representation of the node. |
| Methods inherited from class org.htmlparser.nodeDecorators.AbstractNodeDecorator |
accept, clone, collectInto, doSemanticAction, equals, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, getText, setChildren, setEndPosition, setPage, setParent, setStartPosition, setText, toHtml, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DecodingNode(Text node)
| Method Detail |
public java.lang.String toPlainTextString()
Node
for (Enumeration e = parser.elements (); e.hasMoreElements ();)
// or do whatever processing you wish with the plain text string
System.out.println ((Node)e.nextElement ()).toPlainTextString ());
toPlainTextString in interface NodetoPlainTextString in class AbstractNodeDecorator
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||