org.apache.woden.internal.wsdl20
Class TypesImpl

java.lang.Object
  extended by org.apache.woden.internal.wsdl20.WSDLElementImpl
      extended by org.apache.woden.internal.wsdl20.DocumentableImpl
          extended by org.apache.woden.internal.wsdl20.TypesImpl
All Implemented Interfaces:
AttributeExtensible, ElementExtensible, DocumentableElement, NestedElement, TypesElement, WSDLElement

public class TypesImpl
extends DocumentableImpl
implements TypesElement

This class represents the WSDL <types> element. TODO consider methods to get directly declared schemas vs getting all 'in-scope' schemas from the wsdl tree.

Author:
jkaputin@apache.org

Constructor Summary
TypesImpl()
           
 
Method Summary
 void addSchema(Schema schema)
           
 org.apache.ws.commons.schema.XmlSchemaElement getElementDeclaration(QName qname)
           
 ImportedSchema[] getImportedSchemas()
           
 InlinedSchema[] getInlinedSchemas()
           
 WSDLElement getParentElement()
           
 Schema[] getSchemas()
           
 Schema[] getSchemas(java.net.URI namespace)
           
 org.apache.ws.commons.schema.XmlSchemaType getTypeDefinition(QName qname)
           
 java.lang.String getTypeSystem()
           
 void removeSchema(Schema schema)
           
 void setTypeSystem(java.lang.String typeSystem)
           
 
Methods inherited from class org.apache.woden.internal.wsdl20.DocumentableImpl
addDocumentationElement, getDocumentationElements
 
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement
addDocumentationElement, getDocumentationElements
 
Methods inherited from interface org.apache.woden.wsdl20.xml.WSDLElement
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace
 
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
 

Constructor Detail

TypesImpl

public TypesImpl()
Method Detail

setTypeSystem

public void setTypeSystem(java.lang.String typeSystem)
Specified by:
setTypeSystem in interface TypesElement

getTypeSystem

public java.lang.String getTypeSystem()
Specified by:
getTypeSystem in interface TypesElement

addSchema

public void addSchema(Schema schema)
Specified by:
addSchema in interface TypesElement

removeSchema

public void removeSchema(Schema schema)
Specified by:
removeSchema in interface TypesElement

getSchemas

public Schema[] getSchemas()
Specified by:
getSchemas in interface TypesElement

getSchemas

public Schema[] getSchemas(java.net.URI namespace)
Specified by:
getSchemas in interface TypesElement

getInlinedSchemas

public InlinedSchema[] getInlinedSchemas()
Specified by:
getInlinedSchemas in interface TypesElement

getImportedSchemas

public ImportedSchema[] getImportedSchemas()
Specified by:
getImportedSchemas in interface TypesElement

getParentElement

public WSDLElement getParentElement()
Specified by:
getParentElement in interface NestedElement

getElementDeclaration

public org.apache.ws.commons.schema.XmlSchemaElement getElementDeclaration(QName qname)

getTypeDefinition

public org.apache.ws.commons.schema.XmlSchemaType getTypeDefinition(QName qname)


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.