Kanzi 3.9.10
ResourceBindingProcessor Class Reference

Resource binding processor creates a resource reference that is used to resolve a string into a resource. More...

Inheritance diagram for ResourceBindingProcessor:
[legend]

Static Public Member Functions

static ObjectRef< ResourceBindingProcessorcreate (Domain domain, String name)
 Creates a new resource binding processor.
 

Static Public Attributes

static final Metaclass metaclass
 The Metaclass for the class.
 
- Static Public Attributes inherited from InstructionBindingProcessor
static final Metaclass metaclass
 The Metaclass for the class.
 
- Static Public Attributes inherited from BindingProcessor
static final Metaclass metaclass
 The Metaclass for the class.
 
- Static Public Attributes inherited from KanziObject
static final Metaclass metaclass = new AbstractMetaclass("Kanzi.Object")
 The Metaclass for the class.
 

Additional Inherited Members

- Public Member Functions inherited from KanziObject
boolean equals (Object object)
 
Domain getDomain ()
 Returns the domain the object belongs to.
 
Metaclass getDynamicMetaclass ()
 Returns the metaclass of the dynamic type of the object.
 
long getNative ()
 Gets a pointer to the backing C++ instance.
 
TDataType getOptionalProperty (PropertyType< TDataType > propertyType)
 Returns the current value of a property type, but does not use the default value if there are no inputs to the property value.
 
TDataType getProperty (PropertyType< TDataType > propertyType)
 Returns the current value of a property type.
 
int hashCode ()
 
boolean hasValue (PropertyType< TDataType > propertyType)
 Evaluates whether there are any inputs into the property value.
 
boolean isStale ()
 Test if the object is stale i.e.
 
void removeLocalValue (PropertyType< TDataType > propertyType)
 Removes the local value associated with the property.
 
void setProperty (PropertyType< TDataType > propertyType, TDataType value)
 Sets the local value of a property type.
 
ObjectRef< TTypetryCreateObjectRef (Class< TType > clazz)
 Tries to create an owning ObjectRef instance to this KanziObject.
 
- Public Attributes inherited from BindingProcessorMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.BindingProcessor")
 Metaclass for BindingProcessor.
 
- Public Attributes inherited from InstructionBindingProcessorMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.InstructionBindingProcessor")
 Metaclass for InstructionBindingProcessor.
 
- Public Attributes inherited from ResourceBindingProcessorMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.ResourceBindingProcessor")
 Metaclass for ResourceBindingProcessor.
 

Detailed Description

Resource binding processor creates a resource reference that is used to resolve a string into a resource.

The resource binding processor is associated with a resolve instruction in the expression binding, where the binding uses string input to resolve a binding into a resource value. When the resolved resource changes, Kanzi updates the binding.

Member Function Documentation

◆ create()

static ObjectRef< ResourceBindingProcessor > create ( Domain domain,
String name )
static

Creates a new resource binding processor.

Parameters
domainDomain to use.
nameThe name of the resource binding processor.

Member Data Documentation

◆ metaclass

final Metaclass metaclass
static
Initial value:
=
com.rightware.kanzi.metadata.ResourceBindingProcessorMetadata.metaclass

The Metaclass for the class.