public class SecureUberspector extends UberspectImpl implements RuntimeServicesAware
To use this introspector, set the following property:
runtime.introspector.uberspect = org.apache.velocity.util.introspection.SecureUberspector
UberspectImpl.VelGetterImpl, UberspectImpl.VelMethodImpl, UberspectImpl.VelSetterImpl
introspector, log
Constructor and Description |
---|
SecureUberspector() |
Modifier and Type | Method and Description |
---|---|
Iterator |
getIterator(Object obj,
Info i)
Get an iterator from the given object.
|
void |
init()
init - generates the Introspector.
|
void |
setRuntimeServices(RuntimeServices rs)
Store the RuntimeServices before the object is initialized..
|
getMethod, getPropertyGet, getPropertySet, setLog
public void init()
init
in interface Uberspect
init
in class UberspectImpl
public Iterator getIterator(Object obj, Info i)
getIterator
in interface Uberspect
getIterator
in class UberspectImpl
obj
- object to iterate overi
- line, column, template infopublic void setRuntimeServices(RuntimeServices rs)
setRuntimeServices
in interface RuntimeServicesAware
rs
- RuntimeServices object for initializationCopyright © 2000–2016 The Apache Software Foundation. All rights reserved.