Class Case.Cap

java.lang.Object
javax0.jamal.snippet.Case.Cap
All Implemented Interfaces:
javax0.jamal.api.Identified, javax0.jamal.api.Macro, javax0.jamal.api.ServiceLoaded
Enclosing class:
Case

public static class Case.Cap extends Object implements javax0.jamal.api.Macro
Capitalizes the input. Changes the first character to upper case.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface javax0.jamal.api.Identified

    javax0.jamal.api.Identified.Undefined

    Nested classes/interfaces inherited from interface javax0.jamal.api.Macro

    javax0.jamal.api.Macro.Stateful
  • Field Summary

    Fields inherited from interface javax0.jamal.api.Identified

    DEFAULT_MACRO, MACRO_NAME_ARG1, MACRO_NAME_ARG2

    Fields inherited from interface javax0.jamal.api.Macro

    FETCH
  • Constructor Summary

    Constructors
    Constructor
    Description
    Cap()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    evaluate(javax0.jamal.api.Input input, javax0.jamal.api.Processor processor)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface javax0.jamal.api.Macro

    fetch, getIds, prefetch
  • Constructor Details

    • Cap

      public Cap()
  • Method Details

    • evaluate

      public String evaluate(javax0.jamal.api.Input input, javax0.jamal.api.Processor processor)
      Specified by:
      evaluate in interface javax0.jamal.api.Macro
    • getId

      public String getId()
      Specified by:
      getId in interface javax0.jamal.api.Identified
      Specified by:
      getId in interface javax0.jamal.api.Macro