org.ow2.easywsdl.schema.impl
Class ImportImpl

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
      extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl<E,S>
          extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractImportImpl<Import,Schema>
              extended by org.ow2.easywsdl.schema.impl.ImportImpl
All Implemented Interfaces:
java.io.Serializable, AbsItfImport<Schema>, AbsItfInclude<Schema>, Import, SchemaElement

public class ImportImpl
extends AbstractImportImpl<Import,Schema>
implements Import

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl
schema
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
ImportImpl(Import impt, AbstractSchemaElementImpl parent, java.util.Map<java.net.URI,AbsItfSchema> imports, java.net.URI baseURI, AbstractSchemaReader reader)
           
ImportImpl(Import impt, java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features, java.util.Map<java.net.URI,AbsItfSchema> imports, java.net.URI baseURI, AbstractSchemaReader reader)
           
 
Method Summary
 java.net.URI getLocationURI()
          Get the location URI of this import.
 java.lang.String getNamespaceURI()
          Get the namespace URI of this import.
 void setLocationURI(java.net.URI locationURI)
          Set the location URI of this import.
 void setNamespaceURI(java.lang.String namespaceURI)
          Set the namespace URI of this import.
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl
getParentSchema, getSchema, setSchema
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
createDocumentation, getDocumentation, getModel, getOtherAttributes, getParent, getTopParent, setDocumentation, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.schema.api.absItf.AbsItfInclude
getSchema, setSchema
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation
 

Constructor Detail

ImportImpl

public ImportImpl(Import impt,
                  java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features,
                  java.util.Map<java.net.URI,AbsItfSchema> imports,
                  java.net.URI baseURI,
                  AbstractSchemaReader reader)
           throws SchemaException,
                  java.net.URISyntaxException
Parameters:
impt -
features -
imports -
reader -
Throws:
SchemaException
java.net.URISyntaxException - If the schemaLocation attribute of the import is not a valid URI.

ImportImpl

public ImportImpl(Import impt,
                  AbstractSchemaElementImpl parent,
                  java.util.Map<java.net.URI,AbsItfSchema> imports,
                  java.net.URI baseURI,
                  AbstractSchemaReader reader)
           throws SchemaException,
                  java.net.URISyntaxException
Parameters:
impt -
parent -
imports -
reader -
Throws:
SchemaException
java.net.URISyntaxException - If the schemaLocation attribute of the import is not a valid URI.
Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI()
Description copied from interface: AbsItfImport
Get the namespace URI of this import.

Specified by:
getNamespaceURI in interface AbsItfImport<Schema>

setNamespaceURI

public void setNamespaceURI(java.lang.String namespaceURI)
Description copied from interface: AbsItfImport
Set the namespace URI of this import.

Specified by:
setNamespaceURI in interface AbsItfImport<Schema>
Parameters:
namespaceURI - the desired namespace URI

getLocationURI

public java.net.URI getLocationURI()
Get the location URI of this import.

Specified by:
getLocationURI in interface AbsItfInclude<Schema>
Returns:
the schema location URI of this import or null if undefined.

setLocationURI

public void setLocationURI(java.net.URI locationURI)
Description copied from interface: AbsItfInclude
Set the location URI of this import.

Specified by:
setLocationURI in interface AbsItfInclude<Schema>
Parameters:
locationURI - the desired location URI


Copyright © 2008-2009 Petals Link (previously EBM WebSourcing). All Rights Reserved.