Package com.yahoo.document.fieldset
Class FieldSetRepo
java.lang.Object
com.yahoo.document.fieldset.FieldSetRepo
TODO: Move to document and implement
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyFields
(Document source, Document target, FieldSet fieldSet) Copies fields from one document to another based on whether the fields match the given fieldset.parse
(DocumentTypeManager docMan, String fieldSet) void
stripFields
(Document target, FieldSet fieldSet) Strips all fields not wanted by the given field set from the document.
-
Constructor Details
-
FieldSetRepo
public FieldSetRepo()
-
-
Method Details
-
parse
-
serialize
-
copyFields
Copies fields from one document to another based on whether the fields match the given fieldset. -
stripFields
Strips all fields not wanted by the given field set from the document.
-