com.xerox.bantam.util
Class SchemaSchema
java.lang.Object
|
+--com.xerox.bantam.Schema
|
+--com.xerox.bantam.util.SchemaSchema
- All Implemented Interfaces:
- Serializable
- public class SchemaSchema
- extends Schema
This is the schema for all documents that have persistent schemas
on them. This schema is used to remember what other schemas are in
effect.
The SchemaSchema lets a document persistently remember what schemas
have been applied to it. AddSchema(), removeSchema(), etc should
all muck with properties under this schema.
There are many possible ways to implement this. One could have the
schema list be names which refer to singleton documents that
persistently represent *particular* schemas (for example, a
document that represents the fields of the ContentSchema or the
ResourceSchema).
But currently our schemas are all "pure code," so I haven't taken
this approach. Instead, the SchemaSchema remembers the
fully-qualified class names of the SchemaDescriptors used to
generate the schemas that are applied to it.
This may change in the future...
- Version:
- $Revision: 1.4 $, $Date: 2000/03/09 23:41:55 $
- Author:
- Keith Edwards
- See Also:
- Serialized Form
schemas
public static final FieldDescriptor schemas
SchemaSchema
protected SchemaSchema()
getSchema
public static Schema getSchema()