|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tarantella.tta.webservices.parser.ResponseParser
public class ResponseParser
The ResponseParser class parses XML and returns a tree of IResponse
nodes. It knows which element tags in the XML correspond to objects and
which are attributes, and it creates a suitable tree.
Constructor Summary | |
---|---|
ResponseParser()
Constructor. |
|
ResponseParser(IResponseFactory factory)
Constructor. |
Method Summary | |
---|---|
IResponse |
parse(java.lang.String xml)
Parses the XML. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResponseParser()
public ResponseParser(IResponseFactory factory)
factory
- The factory that creates nodes.Method Detail |
---|
public IResponse parse(java.lang.String xml)
xml
- The XML to be parsed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |