|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.enunciate.config.SchemaInfo
public class SchemaInfo
Configuration information about a schema.
| Constructor Summary | |
|---|---|
SchemaInfo()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAttributeFormDefault()
The attributeFormDefault for this schema. |
java.lang.String |
getElementFormDefault()
The elementFormDefault for this schema. |
java.util.Collection<RootElementDeclaration> |
getGlobalElements()
The collection of global elements defined in this schema. |
java.lang.String |
getId()
A unique id for this schema. |
java.util.Collection<ImplicitSchemaAttribute> |
getImplicitSchemaAttributes()
Get the implicit schema attributes to be included in this schema. |
java.util.Collection<ImplicitSchemaElement> |
getImplicitSchemaElements()
Get the implicit schema elements to be included in this schema. |
java.util.List<SchemaInfo> |
getImportedSchemas()
The list of imported schemas. |
java.util.Collection<LocalElementDeclaration> |
getLocalElementDeclarations()
Local element declarations. |
protected EnunciateFreemarkerModel |
getModel()
Get the current root model. |
java.lang.String |
getNamespace()
The target namespace. |
protected java.util.Map<java.lang.String,SchemaInfo> |
getNamespacesToSchemas()
The namespace to schema map. |
java.util.Set<Schema> |
getPackages()
The set of packages that make up this schema info. |
java.util.HashMap<java.lang.String,java.lang.Object> |
getProperties()
The properties for the schema. |
java.lang.Object |
getProperty(java.lang.String property)
Get a property value. |
java.util.Set<java.lang.String> |
getReferencedNamespaces()
The imported namespace of a specific schema. |
java.util.Collection<Registry> |
getRegistries()
The XML registries. |
java.util.Collection<TypeDefinition> |
getTypeDefinitions()
The collection of types defined in this schema. |
boolean |
isEmptyNamespace()
Whether this is the schema for the empty namespace. |
protected SchemaInfo |
lookupSchema(java.lang.String namespace)
Convenience method to lookup a namespace schema given a namespace. |
void |
setId(java.lang.String id)
A unique id for this schema. |
void |
setNamespace(java.lang.String namespace)
The target namespace. |
void |
setProperty(java.lang.String property,
java.lang.Object value)
Set a property value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaInfo()
| Method Detail |
|---|
public boolean isEmptyNamespace()
public java.lang.String getId()
public void setId(java.lang.String id)
id - A unique id for this schema.public java.lang.String getNamespace()
public void setNamespace(java.lang.String namespace)
namespace - The target namespace.public java.util.Collection<TypeDefinition> getTypeDefinitions()
public java.util.Collection<ImplicitSchemaElement> getImplicitSchemaElements()
public java.util.Collection<ImplicitSchemaAttribute> getImplicitSchemaAttributes()
public java.util.Collection<RootElementDeclaration> getGlobalElements()
public java.util.Collection<Registry> getRegistries()
public java.util.Collection<LocalElementDeclaration> getLocalElementDeclarations()
public java.util.Set<Schema> getPackages()
public java.lang.String getElementFormDefault()
public java.lang.String getAttributeFormDefault()
public void setProperty(java.lang.String property,
java.lang.Object value)
property - The property.value - The value.public java.lang.Object getProperty(java.lang.String property)
property - The property whose value to retrieve.
public java.util.HashMap<java.lang.String,java.lang.Object> getProperties()
public java.util.Set<java.lang.String> getReferencedNamespaces()
public java.util.List<SchemaInfo> getImportedSchemas()
protected SchemaInfo lookupSchema(java.lang.String namespace)
namespace - The namespace for which to lookup the schema.
protected java.util.Map<java.lang.String,SchemaInfo> getNamespacesToSchemas()
protected EnunciateFreemarkerModel getModel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||