public class MetadataEditorHelperImpl extends Object implements MetadataEditorHelper
MetadataEditorHelper}.
Constructor and Description |
---|
MetadataEditorHelperImpl() |
Modifier and Type | Method and Description |
---|---|
Resource |
getEditorFormResource(Resource... resources)
Gets the merged metadata-editor form which qualifies for the passed
Assets.
|
List<Resource> |
getInvalidFormItems(Resource resource)
Checks if the resource has valid metadata present in the merged form.
|
public Resource getEditorFormResource(Resource... resources)
MetadataEditorHelper
Example:
If 2 assets are passed in the argument with mimetypes image/png and image/jpg, the merged form will contain [default form + image form]
getEditorFormResource
in interface MetadataEditorHelper
resources
- Array of asset resources for which form is to be fetchedpublic List<Resource> getInvalidFormItems(Resource resource)
MetadataEditorHelper
getInvalidFormItems
in interface MetadataEditorHelper
resource
- The Resource for which validity of metadata is to be
checked."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"