Class AttributeConfigDescriptor

java.lang.Object
org.nuxeo.ecm.platform.importer.xml.parser.AttributeConfigDescriptor

public class AttributeConfigDescriptor extends Object
Descriptor that can be used to define how Nuxeo DocumentModel properties are filled from the input XML
Author:
Tiry
  • Field Details

    • tagName

      protected String tagName
    • targetDocProperty

      protected String targetDocProperty
    • filter

      protected String filter
    • mapping

      protected Map<String,String> mapping
    • xmlPath

      protected String xmlPath
    • overwrite

      protected boolean overwrite
  • Constructor Details

    • AttributeConfigDescriptor

      public AttributeConfigDescriptor()
    • AttributeConfigDescriptor

      public AttributeConfigDescriptor(String tagName, String targetDocProperty, Map<String,String> mapping, String filter)
    • AttributeConfigDescriptor

      public AttributeConfigDescriptor(String tagName, String targetDocProperty, String xmlPath, String filter)
  • Method Details

    • getTagName

      public String getTagName()
    • getTargetDocProperty

      public String getTargetDocProperty()
    • getFilter

      public String getFilter()
    • getMapping

      public Map<String,String> getMapping()
    • getSingleXpath

      public String getSingleXpath()
    • getOverwrite

      public boolean getOverwrite()
    • toString

      public String toString()
      Overrides:
      toString in class Object