com.sap.aii.proxy.xiruntime.core

Interface BaseType

All Known Implementing Classes:
AbstractType

public interface BaseType

Interface representing the "root" type for all types defined in an WSDL document. It provides methods for accessing as well as rendering and parsing the instance data of classes that were derived from the "root" implemenation class, AbstractType.

Copyright (c) 2001 SAP AG

See Also:
AbstractType

Method Summary
 DataSet dataSet()
          returns an interface enabling access to the instance data
 Descriptor descriptor()
          returns an interface enabling access to the descriptor data
 void fromXml(InputStream xmlStream)
          parses the XML from the given Input Stream and stores the extracted values in the data members of this BaseType instance.
 void fromXml(String xmlDocument)
          parses the given XML document and stores the extracted values in the data members of this BaseType instance.
 GenerationInfo generationInfo()
          returns a class instance containing generation information
 String toXml()
          Deprecated. As of version 0.1, replaced by toXml(String tagName, String namespace)
 String toXml(String tagName)
          Deprecated. As of version 0.1, replaced by toXml(String tagName, String namespace)
 String toXml(String tagName, String namespace)
          returns a String containing the XML rendition of this BaseType using the given tag name for the enclosing element tag and defining the given namespace.
 void toXml(String tagName, String namespace, OutputStream xmlStream)
          writes the XML rendition of this BaseType to the given output stream, using the given tag name for the enclosing element tag and defining the given namespace.
 

Method Detail

dataSet

DataSet dataSet()
returns an interface enabling access to the instance data


descriptor

Descriptor descriptor()
returns an interface enabling access to the descriptor data


generationInfo

GenerationInfo generationInfo()
returns a class instance containing generation information


fromXml

void fromXml(String xmlDocument)
parses the given XML document and stores the extracted values in the data members of this BaseType instance.

Parameters:
xmlDocument - XML document to parse

fromXml

void fromXml(InputStream xmlStream)
parses the XML from the given Input Stream and stores the extracted values in the data members of this BaseType instance.

Parameters:
xmlStream - XML Input Stream to parse

toXml

String toXml()
Deprecated. As of version 0.1, replaced by toXml(String tagName, String namespace)

returns a String containing the XML rendition of this BaseType without an enclosing tag.


toXml

String toXml(String tagName)
Deprecated. As of version 0.1, replaced by toXml(String tagName, String namespace)

returns a String containing the XML rendition of this BaseType using the given name for the enclosing element tag.


toXml

String toXml(String tagName,
             String namespace)
returns a String containing the XML rendition of this BaseType using the given tag name for the enclosing element tag and defining the given namespace.

Parameters:
tagName - Name to be used as XML element tag; if null, no tag will be generated.
namespace - Namespace of the element (may be null).

toXml

void toXml(String tagName,
           String namespace,
           OutputStream xmlStream)
           throws IOException
writes the XML rendition of this BaseType to the given output stream, using the given tag name for the enclosing element tag and defining the given namespace.

Parameters:
tagName - Name to be used as XML element tag; if null, no tag will be generated.
namespace - Namespace of the element (may be null)
xmlStream - Output stream to which the XML rendition will be written
Throws:
IOException - if an I/O error occurs
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] SAP_XIAF [sap.com] com.sap.aii.proxy.svc.facade api BC-XI


Copyright 2011 SAP AG Complete Copyright Notice