Class FieldSetRepo

java.lang.Object
com.yahoo.document.fieldset.FieldSetRepo

public class FieldSetRepo extends Object
TODO: Move to document and implement
  • Constructor Details

    • FieldSetRepo

      public FieldSetRepo()
  • Method Details

    • parse

      public FieldSet parse(DocumentTypeManager docMan, String fieldSet)
    • serialize

      public 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.
    • stripFields

      public void stripFields(Document target, FieldSet fieldSet)
      Strips all fields not wanted by the given field set from the document.