public class SchemaImpl extends ComplexTypeImpl implements Schema
F_UNSTRUCT_DEFAULT, F_UNSTRUCT_FALSE, F_UNSTRUCT_TRUE
EMPTY_SUPERTYPES, F_NOTNULL, F_READONLY
Constructor and Description |
---|
SchemaImpl(String name) |
SchemaImpl(String name,
Namespace ns) |
Modifier and Type | Method and Description |
---|---|
TypeRef<Schema> |
getRef()
Gets a proxy (or reference to this type).
|
Type |
getType(String typeName)
Gets a schema local type given its name.
|
Type[] |
getTypes()
Gets the types declared by this schema.
|
boolean |
isLazy() |
void |
registerType(Type type)
Registers a new type in that schema context.
|
void |
setLazy(boolean isLazy)
Sets the lazy flag for the given schema.
|
String |
toString() |
addField, addField, addField, addField, canonicalXPath, convert, getField, getField, getFields, getFieldsCount, getNamespace, hasField, hasField, hasFields, isComplexType, isUnstructured, newInstance, validate
decode, encode, getHelper, getName, getSchema, getSchemaName, getSuperType, getTypeHierarchy, isAny, isAnyType, isCompositeType, isListType, isNotNull, isReadOnly, isSimpleType, isSuperTypeOf, setNotNull, setReadOnly
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addField, addField, addField, addField, getField, getField, getFields, getFieldsCount, getNamespace, hasField, hasField, hasFields, isUnstructured
decode, encode, getHelper, getName, getSchema, getSchemaName, getSuperType, getTypeHierarchy, isAnyType, isComplexType, isCompositeType, isListType, isNotNull, isReadOnly, isSimpleType, isSuperTypeOf, newInstance, validate
convert
public SchemaImpl(String name)
public void setLazy(boolean isLazy)
Schema
public Type getType(String typeName)
Schema
public Type[] getTypes()
Schema
public void registerType(Type type)
Schema
registerType
in interface Schema
public String toString()
toString
in class ComplexTypeImpl
public TypeRef<Schema> getRef()
Type
getRef
in interface ComplexType
getRef
in interface Schema
getRef
in interface Type
getRef
in class ComplexTypeImpl
Copyright © 2011 Nuxeo SA. All Rights Reserved.