|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Schema
Class that represents a Schema
Field Summary | |
---|---|
static int |
SCHEMA_CONSTRUCTED
|
static int |
SCHEMA_ORIGIN_SOURCE
|
static int |
SCHEMA_ORIGIN_URL
|
Fields inherited from interface com.bowstreet.webapp.WebAppObject |
---|
ALWAYS_VISIBLE, INFORMATION_PROPERTY, NEVER_VISIBLE, SOMETIMES_VISIBLE |
Method Summary | |
---|---|
void |
addDataDefinition(DataDefinitionElement element)
Adds a pre-constructed DataDefinitionElement. |
DataDefinitionContainer |
addDataDefinitionContainer(java.lang.String name)
Create an empty DataDefinitionContainer |
DataDefinitionLeaf |
addDataDefinitionLeaf(java.lang.String name)
Create an empty DataDefinitionLeaf |
DataDefinitionElement |
findDataDefinition(java.lang.String name)
Find a named DataDefinitionElement |
java.util.Collection |
getDataDefinitions()
|
java.lang.String |
getImportsLoc()
return the path for the imports |
java.lang.Object |
getOriginObject()
Returns a reference to the original object (URL, or String of variable name or String of original source) used to construct the Schema. |
Schema |
getSchema()
Returns a com.bowstreet.xml.schema.Schema object that exposes methods for accessing elements, namespace etc within the xsd/dtd. |
int |
getType()
Returns an indicator (SCHEMA_ORIGIN_xx) of the origin of the Schema, whether sourced from a Variable, a URL, or actual source. |
Methods inherited from interface com.bowstreet.webapp.WebAppObject |
---|
clone, getBuilderCall, getName, getProperties, getProperty, getVisibility, isHidden, putProperty, setBuilderCall, setHidden, setName, setVisibility |
Methods inherited from interface com.bowstreet.util.IExemplar |
---|
newInstance |
Field Detail |
---|
static final int SCHEMA_CONSTRUCTED
static final int SCHEMA_ORIGIN_SOURCE
static final int SCHEMA_ORIGIN_URL
Method Detail |
---|
void addDataDefinition(DataDefinitionElement element)
element
- The DDE to add.DataDefinitionContainer addDataDefinitionContainer(java.lang.String name)
name
- must be unique within this Schema
DataDefinitionLeaf addDataDefinitionLeaf(java.lang.String name)
name
- must be unique within this Schema
DataDefinitionElement findDataDefinition(java.lang.String name)
name
- case-sensitive name. May contain slashes, in which case you will recieve node within tree
java.util.Collection getDataDefinitions()
java.lang.String getImportsLoc()
java.lang.Object getOriginObject()
Schema getSchema()
int getType()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |