Package edu.ucsb.nceas.metacat.service
Class XMLNoNamespaceSchema
java.lang.Object
edu.ucsb.nceas.metacat.service.XMLSchema
edu.ucsb.nceas.metacat.service.XMLNoNamespaceSchema
This class represents the information for a schema without a namespace
- Author:
- tao
-
Constructor Summary
ConstructorDescriptionXMLNoNamespaceSchema
(String noNamespaceSchemaLocation, String externalFileUri, String formatId) Constructor of the object -
Method Summary
Modifier and TypeMethodDescriptionGet the no-namespace-schemal-location uristatic String
getType()
Return the type of schema.void
setNoNamespaceSchemaLocation
(String noNamespaceSchemaLocation) Set the no-namespace-schemal-location uriMethods inherited from class edu.ucsb.nceas.metacat.service.XMLSchema
getExternalFileUri, getFileName, getFileNamespace, getFormatId, getLocalFileDir, getLocalFileUri, setExternalFileUri, setFileName, setFileNamespace, setFormatId
-
Constructor Details
-
XMLNoNamespaceSchema
public XMLNoNamespaceSchema(String noNamespaceSchemaLocation, String externalFileUri, String formatId) Constructor of the object- Parameters:
noNamespaceSchemaLocation
- the uri of the noNamespaceSchemaLocation of the schemaexternalFileUri
- the registered file url location for this schemaformatId
- the format id of a xml instance of the schema
-
-
Method Details
-
getNoNamespaceSchemaLocation
Get the no-namespace-schemal-location uri- Returns:
-
setNoNamespaceSchemaLocation
Set the no-namespace-schemal-location uri- Parameters:
noNamespaceSchemaLocation
-
-
getType
Return the type of schema. It always is "NoNamespaceSchema".- Returns:
-