public class XMLParser extends Object
XMLParser provides a way for applications to handle a hook into applications and applications and it's server.
Constructor and Description |
---|
XMLParser()
The application have to implement Parseoutput interface when use
constructor without parameter.
|
XMLParser(boolean usegeneric,
Map groupContainer)
Use default GenericNode as node type if usegeneric is true.
|
Modifier and Type | Method and Description |
---|---|
Map |
getGroupContainer() |
Object |
parse(InputStream xmlin)
Parse an XML document.
|
Object |
parse(String s)
Parses an XML document from a String variable.
|
void |
register(String elemname,
String classname)
Register a call back function.
|
public XMLParser()
The application have to implement Parseoutput interface when use constructor without parameter.
public XMLParser(boolean usegeneric, Map groupContainer)
Use default GenericNode as node type if usegeneric is true.
usegeneric
- public Object parse(String s) throws XMLException
XMLException
public Object parse(InputStream xmlin) throws XMLException
Parse an XML document.
XMLException
public void register(String elemname, String classname)
Register a call back function.
elemname
- is the tag name of this nodeclassname
- is the call back functionpublic Map getGroupContainer()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.