public interface Schema extends ComplexType
A schema is a complex type that can be used used to create composite types - such as document types.
Schemas have no super types and must not be used as field types.
Modifier and Type | Method and Description |
---|---|
Type |
getType(String typeName)
Gets a schema local type given its name.
|
Type[] |
getTypes()
Gets the types declared by this schema.
|
void |
registerType(Type type)
Registers a new type in that schema context.
|
addField, getField, getField, getFields, getFieldsCount, getNamespace, hasField, hasFields
convert, decode, encode, getConstraints, getName, getObjectResolver, getSchema, getSchemaName, getSuperType, getTypeHierarchy, isAnyType, isComplexType, isCompositeType, isListType, isSimpleType, isSuperTypeOf, newInstance, validate
Type[] getTypes()
Type getType(String typeName)
typeName
- void registerType(Type type)
type
- Copyright © 2015 Nuxeo SA. All rights reserved.