public class MergingInfo extends Object implements IAnnotation
| Constructor and Description |
|---|
MergingInfo()
Creates a new merging information file object with no settings.
|
MergingInfo(int docId,
String extractionType,
String relativeInputPath,
String filterId,
String filterParameters,
String inputEncoding,
String relativeTargetPath,
String targetEncoding)
Creates a new merging information file object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDocId() |
String |
getExtractionType() |
String |
getFilterId() |
String |
getFilterParameters() |
String |
getInputEncoding() |
String |
getRelativeInputPath() |
String |
getRelativeTargetPath() |
String |
getResourceId() |
boolean |
getSelected() |
String |
getTargetEncoding() |
boolean |
getUseSkeleton() |
static MergingInfo |
readFromXML(Element element)
Reads the merging information from an XML element created with
writeToXML(String, boolean). |
void |
setResourceId(String resourceId) |
void |
setSelected(boolean selected) |
void |
setUseSkeleton(boolean useSkeleton) |
String |
toString()
Gets a human readable representation of this annotation.
|
String |
writeToXML(String elementQName,
boolean base64)
Creates a string output of the XML representation of the information.
|
public MergingInfo()
public MergingInfo(int docId,
String extractionType,
String relativeInputPath,
String filterId,
String filterParameters,
String inputEncoding,
String relativeTargetPath,
String targetEncoding)
docId - the document id in the manifest/batch.relativeInputPath - the relative input path of the extracted documentfilterId - the id of the filter used to extract.filterParameters - the parameters used to extract (can be null).inputEncoding - the encoding used to extract.relativeTargetPath - the relative output path for the merged file relative to the root.targetEncoding - the default encoding for the merged file.public int getDocId()
public String getExtractionType()
public boolean getUseSkeleton()
public void setUseSkeleton(boolean useSkeleton)
public String getRelativeInputPath()
public String getFilterId()
public String getFilterParameters()
public String getInputEncoding()
public String getRelativeTargetPath()
public String getTargetEncoding()
public String getResourceId()
public void setResourceId(String resourceId)
public boolean getSelected()
public void setSelected(boolean selected)
public String writeToXML(String elementQName, boolean base64)
elementQName - the name of the element that encloses the data.base64 - true if the content needs to be encoded in Base64.public static MergingInfo readFromXML(Element element)
writeToXML(String, boolean).element - the element containing the information.public String toString()
IAnnotationtoString in interface IAnnotationtoString in class ObjectCopyright © 2021. All rights reserved.