com.ibm.tivoli.maximo.report.expr

Class MaximoMacroTransformer

  • java.lang.Object
    • com.ibm.tivoli.maximo.report.expr.MaximoMacroTransformer
    • Constructor Summary

      Constructors 
      Constructor and Description
      MaximoMacroTransformer(java.lang.String macroName, java.lang.String macroValue) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getMacroName() 
      java.lang.String getMacroValue() 
      java.lang.String transform(Node n)
      If this returns a NON NULL value, then this value will replace the Node's .value value, when writing it into the String.
      • Methods inherited from class java.lang.Object

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

      • MaximoMacroTransformer

        public MaximoMacroTransformer(java.lang.String macroName,
                                      java.lang.String macroValue)
    • Method Detail

      • transform

        public java.lang.String transform(Node n)
        Description copied from interface: ToStringVisitor.Transformer
        If this returns a NON NULL value, then this value will replace the Node's .value value, when writing it into the String. This MUST return null, if you want to use node's value.
        Specified by:
        transform in interface ToStringVisitor.Transformer
        Parameters:
        n - Node being transformed
        Returns:
        new value or NULL if you want to use the node default value
      • getMacroName

        public java.lang.String getMacroName()
      • getMacroValue

        public java.lang.String getMacroValue()