| java.lang.Object org.jibx.binding.generator.HolderBase org.jibx.binding.generator.SchemaHolder
SchemaHolder | public class SchemaHolder extends HolderBase (Code) | | External data for a schema definition. This tracks references to other
schemas, along with the associated namespace information. The
SchemaHolder.fixReferences() method actually generates the includes.
|
SchemaHolder | public SchemaHolder(String uri)(Code) | | Constructor.
Parameters: uri - (null if no-namespace schema) |
addElementName | public String addElementName(String base)(Code) | | Add element name to set defined. This assures uniqueness of the name
used, if necessary modifying the supplied base name to a unique
alternative. The same set of names is also used for groups and
attributeGroups, even though these name sets are separate in schema
terms. Doing things this way avoids the possibility of an element name
matching a group name with the two representing different structures.
Parameters: base - name to try adding name to be used for element |
addTypeName | public String addTypeName(String base)(Code) | | Add type name to set defined. This assures uniqueness of the name used,
if necessary modifying the supplied base name to a unique alternative.
Parameters: base - name to try adding name to be used for type |
fixReferences | public void fixReferences()(Code) | | |
getSchema | public SchemaElement getSchema()(Code) | | Get the schema definition.
definition |
|
|