public class XMLSchema
extends java.lang.Object
Constructor and Description |
---|
XMLSchema(java.lang.String fileNamespace,
java.lang.String externalFileUri,
java.lang.String formatId)
Constructor - the schema file name will be extracted from the external
file uri.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExternalFileUri()
Gets the external file uri
|
java.lang.String |
getFileName()
Gets the file name
|
java.lang.String |
getFileNamespace()
Gets the file namespace
|
java.lang.String |
getFormatId()
Get the format id
|
java.lang.String |
getLocalFileDir()
Gets the local file directory path
|
java.lang.String |
getLocalFileUri()
Gets the local file uri
|
static java.lang.String |
getType()
Return the type of the schema.
|
void |
setExternalFileUri(java.lang.String externalFileUri)
Sets the external file uri.
|
void |
setFileName(java.lang.String fileName)
Set the file name.
|
void |
setFileNamespace(java.lang.String fileNamespace)
Sets the file namespace
|
void |
setFormatId(java.lang.String formatId)
Set the format id.
|
public XMLSchema(java.lang.String fileNamespace, java.lang.String externalFileUri, java.lang.String formatId)
fileNamespace
- the file's name spaceexternalFileUri
- the external uri where the schema is locatedpublic void setFileName(java.lang.String fileName)
fileName
- the file name to setpublic java.lang.String getFileName()
public void setFileNamespace(java.lang.String fileNamespace)
fileNamespace
- the namespace to setpublic java.lang.String getFileNamespace()
public void setExternalFileUri(java.lang.String externalFileUri)
externalFileUri
- the external file uri to setpublic java.lang.String getExternalFileUri()
public java.lang.String getLocalFileUri()
public java.lang.String getLocalFileDir()
public java.lang.String getFormatId()
public void setFormatId(java.lang.String formatId)
formatId.
- public static java.lang.String getType()
Copyright © 2020 Regents of the University of California. All Rights Reserved.