|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.schema.processor.Schema
public class Schema
Schema as a collection of definitions. This is a midPoint-specific view of schema definition. It is just a collection of definitions grouped under a specific namespace. The schema and all the public classes in this package define a schema meta-model. It is supposed to be used for run-time schema interpretation. It will not be a convenient tool to work with static data model objects such as user or role. But it is needed for interpreting dynamic schemas for resource objects, extensions and so on. Schema is immutable.
Constructor Summary | |
---|---|
Schema(java.lang.String namespace)
|
Method Summary | |
---|---|
java.lang.String |
debugDump()
|
PropertyContainerDefinition |
findContainerDefinitionByType(javax.xml.namespace.QName typeName)
Finds a PropertyContainerDefinition by the type name. |
java.util.Set<Definition> |
getDefinitions()
Returns set of definitions. |
java.lang.String |
getNamespace()
Returns schema namespace. |
static Schema |
parse(org.w3c.dom.Element schema)
|
static org.w3c.dom.Document |
parseSchema(Schema schema)
|
void |
updateSchemaAccess(SchemaHandlingType schemaHandling)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Schema(java.lang.String namespace)
Method Detail |
---|
public java.lang.String getNamespace()
public java.util.Set<Definition> getDefinitions()
public static Schema parse(org.w3c.dom.Element schema) throws SchemaProcessorException
SchemaProcessorException
public static org.w3c.dom.Document parseSchema(Schema schema) throws SchemaProcessorException
SchemaProcessorException
public void updateSchemaAccess(SchemaHandlingType schemaHandling)
public PropertyContainerDefinition findContainerDefinitionByType(javax.xml.namespace.QName typeName)
typeName
- property container type name
java.lang.IllegalStateException
- if more than one definition is foundpublic java.lang.String debugDump()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |