Class Export

  • All Implemented Interfaces:
    ContentHandler

    public class Export
    extends Object
    implements ContentHandler
    An Export instance represents information about the type of data that Smooks can produce/export.

    An Export instance must have a 'type' which is the class type of Smooks produces when filtering.

    An Export can optionally have a name which is simply used as an identifier so that the calling process can easliy identify this export

    An Export may also optionally have an 'extract' attribute which can be used when only a sub-part of the data is to be considered for exporting. For example, this could be used to specify that the calling process is only interested in a specific object instance in a JavaSink

    Since:
    1.4
    Author:
    Daniel Bevenius
    • Constructor Detail

      • Export

        public Export()
      • Export

        public Export​(Class<?> type)
      • Export

        public Export​(Class<?> type,
                      String name)
    • Method Detail

      • postConstruct

        @PostConstruct
        public void postConstruct()
      • getName

        public String getName()
      • getType

        public Class<?> getType()
      • getExtract

        public String getExtract()
      • getExtractSet

        public Set<String> getExtractSet()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object