|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for modifying instances of Schema.
Nested Class Summary |
Nested classes inherited from class org.nodal.type.Schema |
Schema.Editor |
Method Summary | |
MapType.Editor |
appendNewMapType(java.lang.String nm,
Type key,
Type val)
Create, name and append new MapType. |
RecordType.Editor |
appendNewRecordType(java.lang.String nm)
Create, name and append new RecordType. |
RecordType.Editor |
appendNewRecordType(java.lang.String nm,
RecordType ext)
Create, name and append new RecordType. |
SequenceType.Editor |
appendNewSequenceType(java.lang.String nm,
Type elem)
Create, name and append new SequenceType. |
UnionType.Editor |
appendNewUnionType(java.lang.String nm)
Create, name and append new UnionType. |
Name |
appendType(java.lang.String name,
Type type)
Name and append this type to document's top level. |
boolean |
removeType(java.lang.String typeName)
Remove the type with the given Name from document. |
boolean |
removeType(Type type)
Remove the Type from document. |
Methods inherited from interface org.nodal.type.Schema |
edit, typeNamed, types |
Methods inherited from interface org.nodal.filesystem.Document |
asDirectory, docNode, format, nodeNamed, nodeNamed, path, repository, root, write |
Methods inherited from interface org.nodal.type.TypeFactory |
createMapType, createRecordType, createRecordType, createRestrictionType, createSequenceType, createUnionType |
Method Detail |
public Name appendType(java.lang.String name, Type type)
public boolean removeType(java.lang.String typeName)
public boolean removeType(Type type)
public MapType.Editor appendNewMapType(java.lang.String nm, Type key, Type val)
public SequenceType.Editor appendNewSequenceType(java.lang.String nm, Type elem)
public RecordType.Editor appendNewRecordType(java.lang.String nm)
public RecordType.Editor appendNewRecordType(java.lang.String nm, RecordType ext)
public UnionType.Editor appendNewUnionType(java.lang.String nm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |