org.nodal.type
Interface Schema

All Superinterfaces:
Document
All Known Subinterfaces:
Schema.Editor

public interface Schema
extends Document

A Document collecting a sequence of Type definitions.


Nested Class Summary
static interface Schema.Editor
          Interface for modifying instances of Schema.
 
Method Summary
 Schema.Editor edit()
          Create an Editor for this Schema if permissible.
 Type typeNamed(java.lang.String nm)
          The Type named nm in this Schema.
 java.util.Enumeration types()
          The set of Types defined in this Schema.
 
Methods inherited from interface org.nodal.filesystem.Document
asDirectory, docNode, format, nodeNamed, nodeNamed, path, repository, root, write
 

Method Detail

types

public java.util.Enumeration types()
The set of Types defined in this Schema.


typeNamed

public Type typeNamed(java.lang.String nm)
The Type named nm in this Schema.

Returns null if no such Type exists.


edit

public Schema.Editor edit()
Create an Editor for this Schema if permissible.