Class FlexibleStringExpander.ArrayOffsetString
- java.lang.Object
-
- org.apache.ofbiz.base.util.string.FlexibleStringExpander
-
- org.apache.ofbiz.base.util.string.FlexibleStringExpander.ArrayOffsetString
-
- All Implemented Interfaces:
java.io.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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.ofbiz.base.util.string.FlexibleStringExpander
FlexibleStringExpander.ArrayOffsetString, FlexibleStringExpander.ConstOffsetElem, FlexibleStringExpander.ConstSimpleElem, FlexibleStringExpander.CurrElem, FlexibleStringExpander.Elements, FlexibleStringExpander.NestedVarElem, FlexibleStringExpander.ScriptElem, FlexibleStringExpander.VarElem
-
-
Field Summary
Fields Modifier and Type Field Description protected int
length
protected int
offset
-
Fields inherited from class org.apache.ofbiz.base.util.string.FlexibleStringExpander
chars, closeBracket, exprCache, hint, module, nullExpr, openBracket
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ArrayOffsetString(char[] chars, int offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getOriginal()
Returns a copy of the original expression.boolean
isEmpty()
Returnstrue
if the original expression is empty ornull
.-
Methods inherited from class org.apache.ofbiz.base.util.string.FlexibleStringExpander
containsConstant, containsExpression, containsScript, expand, expand, expand, expandString, expandString, expandString, expandString, expandString, expandString, get, getInstance, getInstance, getStrElems, toString
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:FlexibleStringExpander
Returnstrue
if the original expression is empty ornull
.- Specified by:
isEmpty
in interfaceIsEmpty
- Specified by:
isEmpty
in classFlexibleStringExpander
- Returns:
true
if the original expression is empty ornull
-
getOriginal
public java.lang.String getOriginal()
Description copied from class:FlexibleStringExpander
Returns a copy of the original expression.- Specified by:
getOriginal
in classFlexibleStringExpander
- Returns:
- The original expression
-
-