Package com.iplanet.dpro.parser
Class WebtopParser
- java.lang.Object
 - 
- com.iplanet.dpro.parser.WebtopParser
 
 
- 
@SupportedAll public class WebtopParser extends Object
XMLParser provides a way for applications to handle a hook into applications and applications and its server. 
- 
- 
Constructor Summary
Constructors Constructor Description WebtopParser()Constructs aWebtopParserinstance.WebtopParser(boolean usegeneric)Sets whether to use the defaultGenericNodeas the node type. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] argv)Objectparse(InputStream xmlin)Parses an XML document.Objectparse(String s)Parses an XML document from a String variable.voidregister(String elemname, String classname)Registers a call back function. 
 - 
 
- 
- 
Method Detail
- 
parse
public Object parse(String s) throws Exception
Parses an XML document from a String variable.- Parameters:
 s- The XML document.- Throws:
 Exception- if there are unsupported encoding issues.
 
- 
parse
public Object parse(InputStream xmlin) throws Exception
Parses an XML document.- Parameters:
 xmlin- the XML document.- Returns:
 - the ParseOutput object from walking and processing the node.
 - Throws:
 Exception- if there are IO or XML parsing exceptions.
 
 - 
 
 -