public class SchemaImpl extends ComplexTypeImpl implements Schema
F_UNSTRUCT_DEFAULT, F_UNSTRUCT_FALSE, F_UNSTRUCT_TRUEEMPTY_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, validatedecode, encode, getHelper, getName, getSchema, getSchemaName, getSuperType, getTypeHierarchy, isAny, isAnyType, isCompositeType, isListType, isNotNull, isReadOnly, isSimpleType, isSuperTypeOf, setNotNull, setReadOnlyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddField, addField, addField, addField, getField, getField, getFields, getFieldsCount, getNamespace, hasField, hasField, hasFields, isUnstructureddecode, encode, getHelper, getName, getSchema, getSchemaName, getSuperType, getTypeHierarchy, isAnyType, isComplexType, isCompositeType, isListType, isNotNull, isReadOnly, isSimpleType, isSuperTypeOf, newInstance, validateconvertpublic SchemaImpl(String name)
public void setLazy(boolean isLazy)
Schemapublic Type getType(String typeName)
Schemapublic Type[] getTypes()
Schemapublic void registerType(Type type)
SchemaregisterType in interface Schemapublic String toString()
toString in class ComplexTypeImplpublic TypeRef<Schema> getRef()
TypegetRef in interface ComplexTypegetRef in interface SchemagetRef in interface TypegetRef in class ComplexTypeImplCopyright © 2011 Nuxeo SA. All Rights Reserved.