Oracle Secure Global Desktop Web Services API Documentation
Release 4.7

E21396-02

com.tarantella.tta.webservices.parser
Class GeneralParser

java.lang.Object
  extended by com.tarantella.tta.webservices.parser.GeneralParser
All Implemented Interfaces:
java.io.Serializable

public class GeneralParser
extends java.lang.Object
implements java.io.Serializable

The GeneralParser class parses XML and returns a tree of IResponse nodes. It does not understand the semantics of element tags in the responses from the SGD web services and treats them equally.

See Also:
Serialized Form

Constructor Summary
GeneralParser()
          Constructor.
GeneralParser(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

GeneralParser

public GeneralParser()
Constructor. Uses a DefaultResponseFactory to create nodes.

Since:
1.0

GeneralParser

public GeneralParser(IResponseFactory factory)
Constructor. Uses the specified IResponseFactory to create nodes.

Parameters:
factory - The factory that creates nodes.
Since:
1.0
Method Detail

parse

public IResponse parse(java.lang.String xml)
Parses the XML.

Parameters:
xml - The XML to be parsed.
Returns:
The root node.
Since:
1.0

Oracle Secure Global Desktop Web Services API Documentation
Release 4.7

E21396-02

Copyright © 2012, 2013, Oracle and/or its affiliates. All rights reserved.