public class SchemaHolder
extends org.jibx.util.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.
|
public 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 org.jibx.util.HolderBaseprefix - Prefixuri - URIpublic void finish()
finish in class org.jibx.util.HolderBaseCopyright © 2005–2016 jibx.org. All rights reserved.