public class ContentValidationRequest
extends java.lang.Object
StorageArea.validateContent
.Constructor and Description |
---|
ContentValidationRequest(IndependentlyPersistableObject contentObject,
int contentElementIndex)
Creates a new instance of a
ContentValidationRequest object. |
Modifier and Type | Method and Description |
---|---|
int |
getContentElementIndex()
Returns the positional index of the
Document or Annotation object's content element. |
IndependentlyPersistableObject |
getContentObject()
Returns a
Document or Annotation object that will be added to the validation request. |
public ContentValidationRequest(IndependentlyPersistableObject contentObject, int contentElementIndex)
ContentValidationRequest
object.contentObject
- The Document
or Annotation
object to add to the request.contentElementIndex
- The zero-based index value of the content element to add to the request.
A value of "0" will add the primary content element.public IndependentlyPersistableObject getContentObject()
Document
or Annotation
object that will be added to the validation request.IndependentlyPersistableObject
instance representing the object to add to the request.public int getContentElementIndex()
Document
or Annotation
object's content element.© Copyright IBM Corporation 2006, 2015. All rights reserved.