@ProviderType
public interface Scene7AssetFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
TRASH_STATE |
| Modifier and Type | Method and Description |
|---|---|
Scene7Asset |
createAsset(Map<Object,Object> assetAttributes)
Creates a new
Scene7Asset object |
Scene7Asset |
parseAsset(Element element)
Builds a
Scene7Asset object from the Element object received as a parameter |
List<Scene7Asset> |
parseAssets(Document document)
Processes the
Document and builds a list of Scene7Asset objects that the document contains |
Scene7Asset |
parseMasterAssets(Scene7Asset asset,
Document associatedAssetsDocument)
Attempts to parse the originator asset for a Scene7 asset that supports
sub assets
|
Scene7Asset |
parseSubAssets(Scene7Asset asset,
Document associatedAssetsDocument)
Attempts to parse the originator asset and sub assets for a Scene7 asset that supports sub assets
|
static final String TRASH_STATE
List<Scene7Asset> parseAssets(Document document)
Document and builds a list of Scene7Asset objects that the document containsdocument - Document object containing the Scene7 assetsScene7Asset objectsScene7Asset parseAsset(Element element)
Scene7Asset object from the Element object received as a parameterelement - Element object containing a Scene7 assetScene7Asset objectScene7Asset parseMasterAssets(Scene7Asset asset, Document associatedAssetsDocument)
asset - Scene7Asset asset capable of supporting
sub-assetsassociatedAssetsDocument - Document object containing the sub assets and the originator assetScene7Asset object updated with the parsed
sub-assets and the originator asset If the
Scene7Asset asset object does not support sub-assets, the object will not be touchedScene7Asset parseSubAssets(Scene7Asset asset, Document associatedAssetsDocument)
asset - Scene7Asset asset capable of supporting sub-assetsassociatedAssetsDocument - Document object containing the sub assets and the originator assetScene7Asset object updated with the parsed sub-assets and the originator asset If the
Scene7Asset asset object does not support sub-assets, the object will not be touchedScene7Asset createAsset(Map<Object,Object> assetAttributes)
Scene7Asset objectassetAttributes - a Map object containing the new Scene7 asset's
main attributesCopyright © 2010 - 2020 Adobe. All Rights Reserved