Class FlexibleStringExpander.ArrayOffsetString

java.lang.Object
org.apache.ofbiz.base.util.string.FlexibleStringExpander
org.apache.ofbiz.base.util.string.FlexibleStringExpander.ArrayOffsetString
All Implemented Interfaces:
Serializable, IsEmpty
Direct Known Subclasses:
FlexibleStringExpander.ConstOffsetElem, FlexibleStringExpander.CurrElem, FlexibleStringExpander.Elements, FlexibleStringExpander.NestedVarElem, FlexibleStringExpander.ScriptElem, FlexibleStringExpander.VarElem
Enclosing class:
FlexibleStringExpander

protected abstract static class FlexibleStringExpander.ArrayOffsetString extends FlexibleStringExpander
See Also:
  • Constructor Details

    • ArrayOffsetString

      protected ArrayOffsetString(char[] chars, int offset, int length)
  • Method Details

    • getLength

      public int getLength()
      Gets length.
      Returns:
      the length
    • getOffset

      public int getOffset()
      Gets offset.
      Returns:
      the offset
    • isEmpty

      public boolean isEmpty()
      Description copied from class: FlexibleStringExpander
      Returns true if the original expression is empty or null.
      Specified by:
      isEmpty in interface IsEmpty
      Specified by:
      isEmpty in class FlexibleStringExpander
      Returns:
      true if the original expression is empty or null
    • getOriginal

      public String getOriginal()
      Description copied from class: FlexibleStringExpander
      Returns a copy of the original expression.
      Specified by:
      getOriginal in class FlexibleStringExpander
      Returns:
      The original expression