org.jbpm.wire.binding
Class PropertiesBinding

java.lang.Object
  extended by org.jbpm.wire.binding.PropertiesBinding
All Implemented Interfaces:
Binding

public class PropertiesBinding
extends java.lang.Object
implements Binding

parses a set of properties from resource files or inline property elements.

With attributes

properties files can be referenced. More then one of those attributes can be specified at the same time.

Attribute syntax can be set to value xml if the referenced resources are xml files.

A list of property elements can be specified that must have a name and value attribute. The inline property elements are executed after the loading of the resources so that they will override any properties that were loaded in the resource files.

Author:
Tom Baeyens

Constructor Summary
PropertiesBinding()
           
 
Method Summary
 java.lang.Object parse(org.w3c.dom.Element element, Parse parse, Parser parser)
          translates the given element into a domain model java object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesBinding

public PropertiesBinding()
Method Detail

parse

public java.lang.Object parse(org.w3c.dom.Element element,
                              Parse parse,
                              Parser parser)
Description copied from interface: Binding
translates the given element into a domain model java object. Use the parse to report problems.

Specified by:
parse in interface Binding
Returns:
the domain model java object.
See Also:
Parser