Oracle Application Server Web Services UDDI Client API Reference
10g (9.0.4)

Part No. B10396-01

Package oracle.uddi.message

Provides classes that represent the data structures in UDDI API XML messages as well as some utilities related to XML messaging.

See:
          Description

Interface Summary
CoreTModelConstants This interface contains various constants defined in the UDDI specification which relate to the core tModels which are pre-loaded into the registry.
DomXmlScanner This interface represents a DOM tree source for the serialized XML content of a UddiElement.
DomXmlWriter This interface represents a DOM tree destination for the serialized XML content of a UddiElement.
ReaderXmlScanner This interface represents a Reader source for the serialized XML content of a UddiElement.
UddiElementFactory This interface provides a factory for subclasses of UddiElement.
UddiElementIterator This class is for iterating UDDI elements (of the same type) in various UddiElements.
WriterXmlWriter This interface represents a Writer destination for the serialized XML content of a UddiElement.
XmlScanner This interface represents a source for the deserialization of UddiElement content from some data format.
XmlWriter This interface represents a destination for the serialized XML content of a UddiElement.

 

Class Summary
DefaultXmlScanner This class is an implementation of both the DomXmlScanner interface and the ReaderXmlScanner interface; that is, it can act as a source DOM tree or a source Reader for UddiElement content.
DefaultXmlWriter This class is an implementation of both the DomXmlWriter interface and the WriterXmlWriter interface; that is, it can act as a destination DOM tree or a destination Writer for UddiElement content.
DomUtil Various helper methods (absented in DOM API) over DOM objects.
IteratorElementLifeCycle  
UddiElement This is the base class for all UDDI XML elements.
UddiLengthConstants Encapsulates version-specific maximum field lengths information
UddiVersionConstants Encapsulates version information for this implementation of the UDDI specification.

 

Exception Summary
MarshallException Base exception class for exceptions thrown when errors occur during UDDI element marshalling, i.e., conversion from Java objects to XML.
UnmarshallException Base exception class for exceptions thrown when errors occur during UDDI element unmarshalling, i.e., conversion from XML to Java objects.
VersionMismatchException  

 

Package oracle.uddi.message Description

Provides classes that represent the data structures in UDDI API XML messages as well as some utilities related to XML messaging. Refer to UDDI specification for details.

For composite structures, i.e., non-leaf XML elements, class UddiElement serves as the base class to all of them. For structures that represent a leaf XML element(i.e., an XML element with no attributes or sub elements) or an XML attribute, String (or other appropriate Java types) are used. Examples include findQualifier, tModelKey element, etc.

A collection of leaf XML elements, e.g., the set of descriptions, tModelBag, etc., are represented by a general List structure. A collection of non-leaf XML elements, e.g., IdentifierBag, are represented by UddiElementBag, which exposes a List interface and an iterator interface (to handle large requests/responses).

Message Creation

Clients should use an instance of UddiElementFactory instead of the constructors to create the UDDI elements: it is possible that various UDDI element classes will be replaced with interfaces and hence the constructors will not be available.

Note that each UddiElement instance has a version embedded in it. The version of the factory that is used to create the element determines the version of the element. A version constant is given in the constructor of UddiClient initially, indicating the protocol version that will be used to send messages and create elements via the UddiElementFactory.


Oracle Application Server Web Services UDDI Client API Reference
10g (9.0.4)

Part No. B10396-01

Copyright © 2001, 2003, Oracle. All rights reserved.