Package org.ow2.easywsdl.schema.impl
Class ImportImpl
- java.lang.Object
-
- org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
-
- org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl<E,S>
-
- org.ow2.easywsdl.schema.api.abstractElmt.AbstractImportImpl<org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Import,Schema>
-
- org.ow2.easywsdl.schema.impl.ImportImpl
-
- All Implemented Interfaces:
Serializable,AbsItfImport<Schema>,AbsItfInclude<Schema>,Import,SchemaElement
public class ImportImpl extends AbstractImportImpl<org.ow2.easywsdl.schema.org.w3._2001.xmlschema.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.AbstractSchemaElementImpl
documentation, model, parent
-
-
Constructor Summary
Constructors Constructor Description ImportImpl(org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Import impt, Map<SchemaReader.FeatureConstants,Object> features, Map<URI,AbsItfSchema> imports, URI baseURI, AbstractSchemaReader reader)ImportImpl(org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Import impt, AbstractSchemaElementImpl parent, Map<URI,AbsItfSchema> imports, URI baseURI, AbstractSchemaReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetLocationURI()Get the location URI of this import.StringgetNamespaceURI()Get the namespace URI of this import.voidsetLocationURI(URI locationURI)Set the location URI of this import.voidsetNamespaceURI(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, equals, getDocumentation, getModel, getOtherAttributes, getParent, getTopParent, hashCode, setDocumentation, setParent
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation
-
-
-
-
Constructor Detail
-
ImportImpl
public ImportImpl(org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Import impt, Map<SchemaReader.FeatureConstants,Object> features, Map<URI,AbsItfSchema> imports, URI baseURI, AbstractSchemaReader reader) throws SchemaException, URISyntaxException- Parameters:
impt-features-imports-reader-- Throws:
SchemaExceptionURISyntaxException- If the schemaLocation attribute of the import is not a valid URI.
-
ImportImpl
public ImportImpl(org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Import impt, AbstractSchemaElementImpl parent, Map<URI,AbsItfSchema> imports, URI baseURI, AbstractSchemaReader reader) throws SchemaException, URISyntaxException- Parameters:
impt-parent-imports-reader-- Throws:
SchemaExceptionURISyntaxException- If the schemaLocation attribute of the import is not a valid URI.
-
-
Method Detail
-
getNamespaceURI
public String getNamespaceURI()
Description copied from interface:AbsItfImportGet the namespace URI of this import.- Specified by:
getNamespaceURIin interfaceAbsItfImport<Schema>
-
setNamespaceURI
public void setNamespaceURI(String namespaceURI)
Description copied from interface:AbsItfImportSet the namespace URI of this import.- Specified by:
setNamespaceURIin interfaceAbsItfImport<Schema>- Parameters:
namespaceURI- the desired namespace URI
-
getLocationURI
public URI getLocationURI()
Get the location URI of this import.- Specified by:
getLocationURIin interfaceAbsItfInclude<Schema>- Returns:
- the schema location
URIof this import ornullif undefined.
-
setLocationURI
public void setLocationURI(URI locationURI)
Description copied from interface:AbsItfIncludeSet the location URI of this import.- Specified by:
setLocationURIin interfaceAbsItfInclude<Schema>- Parameters:
locationURI- the desired location URI
-
-