Package | Description |
---|---|
org.nuxeo.ecm.core.api | |
org.nuxeo.ecm.core.api.impl | |
org.nuxeo.ecm.core.api.model | |
org.nuxeo.ecm.core.api.model.impl | |
org.nuxeo.ecm.core.schema |
Schema API and implementation; a schema describes the names and types of some fields.
|
org.nuxeo.ecm.core.schema.registries | |
org.nuxeo.ecm.core.schema.types |
Modifier and Type | Method and Description |
---|---|
static DataModel |
DocumentModelFactory.createDataModel(Document doc,
Schema schema)
Creates a data model from a document and a schema.
|
DataModel |
CoreSession.getDataModel(DocumentRef docRef,
Schema schema)
Retrieves a data model given a document reference and a schema.
|
DataModel |
AbstractSession.getDataModel(DocumentRef docRef,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
static DataModel |
DocumentModelImpl.cloneDataModel(Schema schema,
DataModel data) |
Modifier and Type | Method and Description |
---|---|
Schema |
Property.getSchema()
Gets the document schema defining the property tree from which the
property belongs.
|
Schema |
DocumentPart.getSchema()
The document schema.
|
Modifier and Type | Method and Description |
---|---|
Schema |
DocumentPartImpl.getSchema() |
Schema |
AbstractProperty.getSchema() |
Schema |
DocumentPartImpl.getType() |
Modifier and Type | Method and Description |
---|---|
static DocumentPart |
DefaultPropertyFactory.newDocumentPart(Schema schema) |
Constructor and Description |
---|
DocumentPartImpl(Schema schema) |
DocumentPartImpl(Schema schema,
PropertyFactory factory) |
Modifier and Type | Method and Description |
---|---|
Schema |
TypeProvider.getSchema(String schema)
Gets a schema.
|
Schema |
SchemaManagerImpl.getSchema(String name) |
Schema |
SchemaManagerImpl.getSchemaFromPrefix(String schemaPrefix) |
Schema |
SchemaManager.getSchemaFromPrefix(String schemaPrefix) |
Schema |
SchemaManagerImpl.getSchemaFromURI(String schemaURI) |
Schema |
SchemaManager.getSchemaFromURI(String schemaURI) |
Schema[] |
TypeProvider.getSchemas()
Gets the list of schemas.
|
Schema[] |
SchemaManagerImpl.getSchemas() |
Schema |
XSDLoader.loadSchema(String name,
String prefix,
File file,
boolean override) |
Schema |
XSDLoader.loadSchema(String name,
String prefix,
InputStream in) |
Schema |
XSDLoader.loadSchema(String name,
String prefix,
URL url) |
Schema |
XSDLoader.loadSchema(String name,
String prefix,
com.sun.xml.xsom.XSSchema schema,
boolean override) |
Schema |
SchemaManagerImpl.unregisterSchema(String name) |
Schema |
SchemaManager.unregisterSchema(String name) |
Modifier and Type | Method and Description |
---|---|
ListType |
XSDLoader.createListType(Schema schema,
String name,
com.sun.xml.xsom.XSParticle particle) |
Type |
XSDLoader.loadType(Schema schema,
com.sun.xml.xsom.XSType type) |
void |
SchemaManagerImpl.registerSchema(Schema schema) |
void |
SchemaManager.registerSchema(Schema schema) |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaRegistry.clone(Schema orig) |
Schema |
SchemaRegistry.getSchema(String name) |
Schema |
SchemaRegistry.getSchemaFromPrefix(String schemaPrefix) |
Schema |
SchemaRegistry.getSchemaFromURI(String schemaURI) |
Schema[] |
SchemaRegistry.getSchemas() |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaRegistry.clone(Schema orig) |
void |
SchemaRegistry.contributionRemoved(String id,
Schema schema) |
void |
SchemaRegistry.contributionUpdated(String id,
Schema schema,
Schema newOrigContrib) |
String |
SchemaRegistry.getContributionId(Schema contrib) |
void |
SchemaRegistry.merge(Schema src,
Schema dst) |
Modifier and Type | Class and Description |
---|---|
class |
SchemaImpl |
Modifier and Type | Method and Description |
---|---|
Schema |
Type.getSchema()
Gets the schema defining this type.
|
Schema |
AbstractType.getSchema() |
Schema |
CompositeTypeImpl.getSchema(String name) |
Schema |
CompositeType.getSchema(String name)
Gets the composite type schema given its name.
|
Schema |
CompositeTypeImpl.getSchemaByPrefix(String prefix) |
Schema |
CompositeType.getSchemaByPrefix(String prefix)
Finds the composite type schema given the schema prefix.
|
Modifier and Type | Method and Description |
---|---|
TypeRef<Schema> |
SchemaImpl.getRef() |
TypeRef<Schema> |
Schema.getRef() |
Collection<Schema> |
CompositeTypeImpl.getSchemas() |
Collection<Schema> |
CompositeType.getSchemas()
Gets all the schemas (including inherited schemas) of this composite type.
|
Modifier and Type | Method and Description |
---|---|
void |
CompositeTypeImpl.addSchema(Schema schema) |
void |
CompositeType.addSchema(Schema schema)
Adds a schema.
|
Copyright © 2012 Nuxeo SA. All Rights Reserved.