com.sap.aii.proxy.xiruntime.core

Interface BaseTypeDescriptor

All Superinterfaces:
Serializable

public interface BaseTypeDescriptor
extends Serializable

Interface of a descriptor class associated with a BaseType implementation. The descriptor contains all attributes and elements, together with their respective XMLSchema properties, found in the WSDL document defining the BaseType. This information is utilized, e.g., when XML elements representing instances of AbstractTypes are being rendered or parsed.

Classes implementing this interface may exhibit different views on the information about the associated AbstractType.

Copyright (c) 2001 SAP AG

See Also:
AbstractType

Method Summary
 int getAttributeCount()
          returns the number of attributes of the associated BaseType
 int getAttributeIndex(String name)
          returns the index of the attribute of the given name; or -1 if the name was not found
 XsdlAttributeProperties getAttributeProperties(int i)
          returns the XMLSchema properties of the i-th attribute
 int getElementCount()
          returns the number of elements of the associated BaseType
 int getElementIndex(String name)
          returns the index of the element of the given name; or -1 if the name was not found
 XsdlElementProperties getElementProperties(int i)
          returns the XMLSchema properties of the i-th element
 Class getJavaClass()
          returns the Java class generated for the associated BaseType
 QName getWsdlName()
          returns the name of the associated class as defined in the WSDL document (may be null if class is not of type WsdlMessage)
 int getXsdlType()
          returns a constant denoting the XSDL type of the associated Base Type class.
 

Method Detail

getAttributeCount

int getAttributeCount()
returns the number of attributes of the associated BaseType


getAttributeIndex

int getAttributeIndex(String name)
returns the index of the attribute of the given name; or -1 if the name was not found


getAttributeProperties

XsdlAttributeProperties getAttributeProperties(int i)
returns the XMLSchema properties of the i-th attribute


getElementCount

int getElementCount()
returns the number of elements of the associated BaseType


getElementIndex

int getElementIndex(String name)
returns the index of the element of the given name; or -1 if the name was not found


getElementProperties

XsdlElementProperties getElementProperties(int i)
returns the XMLSchema properties of the i-th element


getWsdlName

QName getWsdlName()
returns the name of the associated class as defined in the WSDL document (may be null if class is not of type WsdlMessage)


getJavaClass

Class getJavaClass()
returns the Java class generated for the associated BaseType


getXsdlType

int getXsdlType()
returns a constant denoting the XSDL type of the associated Base Type class. Possible values include XSDL_SIMPLE_TYPE, XSDL_COMPLEX_TYPE, XSDL_SEQUENCE, WSDL_SIMPLE_CONTENT, and WSDL_MESSAGE.

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