Class BeanPropertyLookupParser
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.util.PropertyLookupParser
-
- org.pentaho.reporting.engine.classic.core.util.beans.BeanPropertyLookupParser
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PropertyAttributes
public abstract class BeanPropertyLookupParser extends PropertyLookupParser
A lookup parser that uses the standard ${..} syntax to lookup bean references. It can chain lookups along standard bean properties.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.util.PropertyLookupParser
ESCAPE_MODE_ALL, ESCAPE_MODE_NONE, ESCAPE_MODE_STRICT
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BeanPropertyLookupParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
lookupVariable(String entity)
Looks up the property with the given name.protected abstract Object
performInitialLookup(String name)
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.util.PropertyLookupParser
getClosingBraceChar, getEscapeChar, getEscapeMode, getMarkerChar, getOpeningBraceChar, handleVariableLookup, postProcessCharacter, setClosingBraceChar, setEscapeChar, setEscapeMode, setMarkerChar, setOpeningBraceChar, translateAndLookup, translateAndLookup
-
-
-
-
Method Detail
-
performInitialLookup
protected abstract Object performInitialLookup(String name)
- Parameters:
name
-- Returns:
-
lookupVariable
protected String lookupVariable(String entity)
Description copied from class:PropertyLookupParser
Looks up the property with the given name.- Specified by:
lookupVariable
in classPropertyLookupParser
- Parameters:
entity
- the name of the property to look up.- Returns:
- the translated value.
-
-