org.apache.woden.wsdl20.xml
Interface TypesElement

All Superinterfaces:
AttributeExtensible, DocumentableElement, ElementExtensible, NestedElement, WSDLElement
All Known Implementing Classes:
TypesImpl

public interface TypesElement
extends DocumentableElement, NestedElement

Represents the WSDL 2.0 <types> element.

Author:
John Kaputin (jkaputin@apache.org)

Method Summary
 void addSchema(Schema schema)
          Add a Schema object for a schema inlined or imported within the <types> element.
 ImportedSchema[] getImportedSchemas()
          Return the schemas imported directly by this <types> element in the order in which they occur.
 InlinedSchema[] getInlinedSchemas()
          Return the schemas inlined directly within this <types> element in the order in which they occur.
 Schema[] getSchemas()
          Return the schemas inlined or imported directly within this <types> element.
 Schema[] getSchemas(java.net.URI namespace)
          Return the schemas inlined or imported directly within this <types> element whose target namespace matches the specified namespace.
 java.lang.String getTypeSystem()
          Get the string indicating the type system used within the <types> element.
 void removeSchema(Schema schema)
          Delete the specified Schema object.
 void setTypeSystem(java.lang.String typeSystem)
          Indicates the type system used within the <types> element.
 
Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement
addDocumentationElement, getDocumentationElements
 
Methods inherited from interface org.apache.woden.wsdl20.xml.NestedElement
getParentElement, setParentElement
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
 

Method Detail

setTypeSystem

void setTypeSystem(java.lang.String typeSystem)
Indicates the type system used within the <types> element. Typically the W3C XML Schema type system will be used, indicated by the namespace "http://www.w3.org/2001/XMLSchema". An alternative schema-like type system is Relax NG (http://www.relaxng.org/).


getTypeSystem

java.lang.String getTypeSystem()
Get the string indicating the type system used within the <types> element.


addSchema

void addSchema(Schema schema)
Add a Schema object for a schema inlined or imported within the <types> element.

Parameters:
schema - the Schema object.

removeSchema

void removeSchema(Schema schema)
Delete the specified Schema object.


getSchemas

Schema[] getSchemas()
Return the schemas inlined or imported directly within this <types> element.

Returns:
an array of Schema objects

getSchemas

Schema[] getSchemas(java.net.URI namespace)
Return the schemas inlined or imported directly within this <types> element whose target namespace matches the specified namespace.

A null namespace argument will return schemas that have no target namespace.

Returns:
an array of Schema objects with the specified target namespace.

getInlinedSchemas

InlinedSchema[] getInlinedSchemas()
Return the schemas inlined directly within this <types> element in the order in which they occur.

Returns:
an array of Schema objects.

getImportedSchemas

ImportedSchema[] getImportedSchemas()
Return the schemas imported directly by this <types> element in the order in which they occur.

Returns:
an array of Schema objects.


Copyright © 2007. All Rights Reserved.