public class Schema
extends java.lang.Object
Contains informations related to a schema.
| Constructor and Description |
|---|
Schema() |
| Modifier and Type | Method and Description |
|---|---|
void |
addImport(java.lang.String namespace)
Adds a reference to an imported namespace.
|
void |
addSourceUri(java.net.URI sourceUri)
Add a new URI in the source URIs list.
|
java.util.List<java.lang.String> |
getImports()
Gets the imported namespaces list.
|
java.lang.String |
getNamespace()
Gets the default namespace.
|
org.w3c.dom.Element |
getRoot()
Gets the root element.
|
java.util.List<java.net.URI> |
getSourceUris()
Gets the source URIs list.
|
void |
setImports(java.util.List<java.lang.String> imports)
Sets the imported namespaces list.
|
void |
setNamespace(java.lang.String namespace)
Sets the default namespace.
|
void |
setRoot(org.w3c.dom.Element root)
Sets the root element.
|
public void addImport(java.lang.String namespace)
Adds a reference to an imported namespace.
namespace - the namespace to referencepublic java.util.List<java.lang.String> getImports()
Gets the imported namespaces list.
public void setImports(java.util.List<java.lang.String> imports)
Sets the imported namespaces list.
imports - The imports to set.public org.w3c.dom.Element getRoot()
Gets the root element.
public void setRoot(org.w3c.dom.Element root)
Sets the root element.
root - The root to set.public java.lang.String getNamespace()
Gets the default namespace.
public void setNamespace(java.lang.String namespace)
Sets the default namespace.
namespace - The namespace to set.public java.util.List<java.net.URI> getSourceUris()
Gets the source URIs list.
public void addSourceUri(java.net.URI sourceUri)
Add a new URI in the source URIs list.
sourceUri - The sourceUri to set.Copyright © 2005-2014 FuseSource. All Rights Reserved.