org.jbpm.wire.binding
Class AbstractCollectionBinding

java.lang.Object
  extended by org.jbpm.wire.binding.AbstractCollectionBinding
All Implemented Interfaces:
Binding
Direct Known Subclasses:
ListBinding, SetBinding

public abstract class AbstractCollectionBinding
extends java.lang.Object
implements Binding


Constructor Summary
AbstractCollectionBinding()
           
 
Method Summary
protected abstract  CollectionDescriptor createDescriptor()
           
protected abstract  java.lang.Class<?> getCollectionInterface()
           
 java.lang.Object parse(org.w3c.dom.Element element, Parse parse, Parser parser)
          translates the given element into a domain model java object.
static boolean verify(java.lang.String className, java.lang.Class<?> collectionInterface, Parse parse, Parser parser)
          verifies if the given classname is specified and implements the collection interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCollectionBinding

public AbstractCollectionBinding()
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

verify

public static boolean verify(java.lang.String className,
                             java.lang.Class<?> collectionInterface,
                             Parse parse,
                             Parser parser)
verifies if the given classname is specified and implements the collection interface


getCollectionInterface

protected abstract java.lang.Class<?> getCollectionInterface()

createDescriptor

protected abstract CollectionDescriptor createDescriptor()