org.codehaus.enunciate.config
Class WsdlInfo

java.lang.Object
  extended by org.codehaus.enunciate.config.WsdlInfo

public class WsdlInfo
extends java.lang.Object

Configuration information about a WSDL.

Author:
Ryan Heaton

Constructor Summary
WsdlInfo()
           
 
Method Summary
 SchemaInfo getAssociatedSchema()
          Get the schema associated with this WSDL.
 java.util.Collection<EndpointInterface> getEndpointInterfaces()
          The endpoint interfaces making up this WSDL.
 java.lang.String getId()
          A unique id for this wsdl.
 java.util.Set<java.lang.String> getImportedNamespaces()
          Get the imported namespaces used by this WSDL.
 java.util.List<SchemaInfo> getImportedSchemas()
          The list of imported schemas.
protected  EnunciateFreemarkerModel getModel()
          Get the current root model.
protected  java.util.Map<java.lang.String,SchemaInfo> getNamespacesToSchemas()
          The namespace to schema map.
 java.util.HashMap<java.lang.String,java.lang.Object> getProperties()
          The properties of the wsdl info.
 java.lang.Object getProperty(java.lang.String property)
          Get a property value.
 java.lang.String getTargetNamespace()
          The target namespace.
protected  SchemaInfo lookupSchema(java.lang.String namespace)
          Convenience method to lookup a namespace schema given a namespace.
 void setId(java.lang.String id)
          A unique id for this wsdl.
 void setProperty(java.lang.String property, java.lang.Object value)
          Set a property value.
 void setTargetNamespace(java.lang.String targetNamespace)
          The target namespace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsdlInfo

public WsdlInfo()
Method Detail

getId

public java.lang.String getId()
A unique id for this wsdl.

Returns:
A unique id for this wsdl.

setId

public void setId(java.lang.String id)
A unique id for this wsdl.

Parameters:
id - A unique id for this wsdl.

getTargetNamespace

public java.lang.String getTargetNamespace()
The target namespace.

Returns:
The target namespace.

setTargetNamespace

public void setTargetNamespace(java.lang.String targetNamespace)
The target namespace.

Parameters:
targetNamespace - The target namespace.

getEndpointInterfaces

public java.util.Collection<EndpointInterface> getEndpointInterfaces()
The endpoint interfaces making up this WSDL.

Returns:
The endpoint interfaces making up this WSDL.

setProperty

public void setProperty(java.lang.String property,
                        java.lang.Object value)
Set a property value.

Parameters:
property - The property.
value - The value.

getProperty

public java.lang.Object getProperty(java.lang.String property)
Get a property value.

Parameters:
property - The property whose value to retrieve.
Returns:
The property value.

getProperties

public java.util.HashMap<java.lang.String,java.lang.Object> getProperties()
The properties of the wsdl info.

Returns:
The properties of the wsdl info.

getImportedNamespaces

public java.util.Set<java.lang.String> getImportedNamespaces()
Get the imported namespaces used by this WSDL.

Returns:
The imported namespaces used by this WSDL.

getImportedSchemas

public java.util.List<SchemaInfo> getImportedSchemas()
The list of imported schemas.

Returns:
The list of imported schemas.

getAssociatedSchema

public SchemaInfo getAssociatedSchema()
Get the schema associated with this WSDL.

Returns:
The schema associated with this WSDL.

lookupSchema

protected SchemaInfo lookupSchema(java.lang.String namespace)
Convenience method to lookup a namespace schema given a namespace.

Parameters:
namespace - The namespace for which to lookup the schema.
Returns:
The schema info.

getNamespacesToSchemas

protected java.util.Map<java.lang.String,SchemaInfo> getNamespacesToSchemas()
The namespace to schema map.

Returns:
The namespace to schema map.

getModel

protected EnunciateFreemarkerModel getModel()
Get the current root model.

Returns:
The current root model.