Package com.axemble.vdoc.sdk.interfaces
Interface IGenericViewTransformer
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- ProcessGenericViewTransformer
This class represents a generic view transformer.
- Since:
- 2.1
- Version:
- 1.0, 16/06/2009
- Author:
- vlygeros
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetCount(int count) Sets the number of elements to return.voidsetIncludeLabels(boolean includeLabels) Allows to include or not the labels.voidsetOffset(int offset) Sets the first element to return.voidsetSecurityApplied(boolean securityApplied) Specifies if the security should be applied.voidsetStart(int start) Sets the start page position.voidviewToXML(IContext context, Element viewDefinition, OutputStream outputStream) Allows to evaluate a view and transforms the result to an XML stream.
- 
Method Details- 
viewToXMLvoid viewToXML(IContext context, Element viewDefinition, OutputStream outputStream) throws IOException Allows to evaluate a view and transforms the result to an XML stream.- Parameters:
- context- The execution context.
- viewDefinition- The view definition.
- outputStream- The- OutputStreamobject.
- Throws:
- IOException- Thedefault exception.- invalid reference- java.io.Exception
 
- 
setSecurityAppliedvoid setSecurityApplied(boolean securityApplied) Specifies if the security should be applied.- Parameters:
- securityApplied- true if the security should be applied, false otherwise.
 
- 
setIncludeLabelsvoid setIncludeLabels(boolean includeLabels) Allows to include or not the labels. By default, the value is set to true.- Parameters:
- includeLabels- Set to false to avoid labels inclusion.
 
- 
setStartvoid setStart(int start) Sets the start page position.- Parameters:
- start- The start page to set (1 is the first page).
 
- 
setCountvoid setCount(int count) Sets the number of elements to return.- Parameters:
- count-
 
- 
setOffsetvoid setOffset(int offset) Sets the first element to return.- Parameters:
- offset- The first element to set (0 is the first element).
 
 
-