public class FieldSetRepo extends Object
Constructor and Description |
---|
FieldSetRepo() |
Modifier and Type | Method and Description |
---|---|
void |
copyFields(Document source,
Document target,
FieldSet fieldSet)
Copies fields from one document to another based on whether the fields match the given
fieldset.
|
FieldSet |
parse(DocumentTypeManager docMan,
String fieldSet) |
(package private) FieldSet |
parseFieldCollection(DocumentTypeManager docMan,
String docType,
String fieldNames) |
(package private) FieldSet |
parseSpecialValues(String name) |
String |
serialize(FieldSet fieldSet) |
void |
stripFields(Document target,
FieldSet fieldSet)
Strips all fields not wanted by the given field set from the document.
|
FieldSet parseFieldCollection(DocumentTypeManager docMan, String docType, String fieldNames)
public FieldSet parse(DocumentTypeManager docMan, String fieldSet)
public void copyFields(Document source, Document target, FieldSet fieldSet)
Copyright © 2017. All rights reserved.