net.ponder2.parser
Class XMLParser
java.lang.Object
net.ponder2.parser.XMLParser
public class XMLParser
- extends java.lang.Object
TODO Description
- Version:
- $Id:$
- Author:
- Kevin Twidle
Field Summary |
static boolean |
trace
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
trace
public static boolean trace
XMLParser
public XMLParser()
XMLParser
public XMLParser(P2Hash variables)
- Parameters:
variables
-
execute
public P2Object execute(P2Object source,
java.lang.String xmlString)
throws Ponder2Exception
- Throws:
Ponder2Exception
execute
public P2Object execute(P2Object source,
java.io.Reader reader)
throws Ponder2Exception
- Throws:
Ponder2Exception
execute
public P2Object execute(P2Object source,
com.twicom.qdparser.TaggedElement xml)
throws Ponder2Exception
- Throws:
Ponder2Exception
readXML
public static com.twicom.qdparser.TaggedElement readXML(java.io.Reader input)
- reads and parses XML
- Parameters:
input
- the input stream to read from
- Returns:
- the parsed XML structure or null if a failure occured
Copyright © 2008 Imperial College. All Rights Reserved.