Package net.i2p.router.news
Class XMLParser
java.lang.Object
org.cybergarage.xml.Parser
org.cybergarage.xml.parser.JaxpParser
net.i2p.router.news.XMLParser
public class XMLParser extends JaxpParser
Override so that XHTML is parsed correctly.
This requires us to maintain mixed text and subnodes and output both.
- Since:
- 0.9.17
-
Field Summary
-
Constructor Summary
Constructors Constructor Description XMLParser(I2PAppContext ctx)
-
Method Summary
-
Field Details
-
TEXT_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
parse
Modified from UPnP JaxpParser- Overrides:
parse
in classJaxpParser
- Parameters:
parentNode
- null if at toprank
- parse level, only for debug- Returns:
- the parsed node, or the parent node, unused except at top level
-
toString
A replacement for Node.toString(), which does not recognize #text.
-