public class SchemaHolder extends HolderBase
finish() method actually generates the includes.| Constructor and Description |
|---|
SchemaHolder(SchemaElement schema)
Constructor for existing schema definition file.
|
SchemaHolder(String uri)
Constructor for new schema definition file.
|
| Modifier and Type | Method and Description |
|---|---|
String |
addElementName(String base)
Add element name to set defined.
|
protected void |
addNamespaceDecl(String prefix,
String uri)
Implementation method to handle adding a namespace declaration.
|
String |
addTypeName(String base)
Add type name to set defined.
|
void |
finish()
Implementation method to handle references from this schema to other schemas.
|
SchemaElement |
getSchema()
Get the schema definition.
|
addReference, getFileName, getNamespace, getPrefix, getReferences, isExistingFile, isModifiable, setFileNamepublic SchemaHolder(String uri)
uri - (null if no-namespace schema)public SchemaHolder(SchemaElement schema)
schema - schema definitionpublic SchemaElement getSchema()
public String addTypeName(String base)
base - name to try addingpublic String addElementName(String base)
base - name to try addingprotected void addNamespaceDecl(String prefix, String uri)
addNamespaceDecl in class HolderBaseprefix - uri - public void finish()
finish in class HolderBaseCopyright © 2005-2013 jibx.org. All Rights Reserved.