| Package | Description |
|---|---|
| org.apache.sling.models.factory | |
| org.apache.sling.models.spi |
| Modifier and Type | Method and Description |
|---|---|
<ModelType> |
ModelFactory.createModel(Object adaptable,
Class<ModelType> type)
Instantiates the given Sling Model class from the given adaptable.
|
| Modifier and Type | Method and Description |
|---|---|
<ModelType> |
ModelValidation.validate(Object adaptable,
Class<ModelType> modelClass,
boolean required)
Triggers validation for the given model on the given adaptable
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.