Package com.yahoo.document.fieldset
Class FieldSetRepo
- java.lang.Object
-
- com.yahoo.document.fieldset.FieldSetRepo
-
public class FieldSetRepo extends java.lang.Object
TODO: Move to document and implement
-
-
Constructor Summary
Constructors Constructor Description FieldSetRepo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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, java.lang.String fieldSet)
java.lang.String
serialize(FieldSet fieldSet)
void
stripFields(Document target, FieldSet fieldSet)
Strips all fields not wanted by the given field set from the document.
-
-
-
Method Detail
-
parse
public FieldSet parse(DocumentTypeManager docMan, java.lang.String fieldSet)
-
serialize
public java.lang.String serialize(FieldSet fieldSet)
-
copyFields
public void copyFields(Document source, Document target, FieldSet fieldSet)
Copies fields from one document to another based on whether the fields match the given fieldset.
-
-