Class TransformerPropertySetter


  • public class TransformerPropertySetter
    extends java.lang.Object
    Provides methods to set and remove transformer properties and values.
    Author:
    Alan Davis
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int removeProperties​(java.lang.String propertyNames)
      Removes transformer properties from the supplied multi line propertyNames.
      int setProperties​(java.lang.String propertyNamesAndValues)
      Sets transformer properties from the supplied multi line propertyNamesAndValues.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • setProperties

        public int setProperties​(java.lang.String propertyNamesAndValues)
        Sets transformer properties from the supplied multi line propertyNamesAndValues.
        Throws:
        java.lang.IllegalArgumentException - if an unexpected line is found
      • removeProperties

        public int removeProperties​(java.lang.String propertyNames)
        Removes transformer properties from the supplied multi line propertyNames.
        Parameters:
        propertyNames - which optionally include a value
        Throws:
        java.lang.IllegalArgumentException - if an unexpected line is found