org.ow2.bonita.pvm.internal.xml
Interface Binding

All Known Implementing Classes:
AbstractCollectionBinding, AsyncCommandServiceBinding, AuthorizationInterceptorBinding, BasicTypeBinding, BusinessCalendarBinding, ByteBinding, CharBinding, CheckVersionBinding, ClassBinding, ContextRefBinding, CreateIdBinding, CreateProcessBinding, DeployerManagerBinding, DoubleBinding, EnlistBinding, EnvironmentFactoryRefBinding, EnvironmentInterceptorBinding, EnvironmentRefBinding, ExecutionServiceBinding, FalseBinding, FieldBinding, FloatBinding, HibernateConfigurationBinding, HibernateSessionBinding, HibernateSessionFactoryBinding, IdGeneratorBinding, IntBinding, InvokeBinding, JndiBinding, JobDbSessionBinding, JobExecutorBinding, JobTestHelperBinding, ListBinding, LongBinding, ManagementServiceBinding, MapBinding, MessageSessionBinding, NullBinding, ObjectBinding, ProcessServiceBinding, PropertiesBinding, PropertyBinding, PvmDbSessionBinding, RefBinding, RetryInterceptorBinding, SaveProcessBinding, ScriptManagerBinding, SeamHibernateSessionBinding, SetBinding, ShortBinding, StandardCommandServiceBinding, StandardTransactionInterceptorBinding, StringBinding, SubscribeBinding, TagBinding, TimerSessionBinding, TransactionBinding, TransactionRefBinding, TrueBinding, VariableTypesBinding, WireBinding, WireDescriptorBinding, WireInterceptorBinding, WireOperationBinding

public interface Binding

a modular mapping between an xml element and a java object in the domain model, see also Parser. See also 'Bindings'.

See Also:
Parser

Method Summary
 java.lang.String getCategory()
           
 boolean matches(org.w3c.dom.Element element)
          does this binding apply to the given element?
 java.lang.Object parse(org.w3c.dom.Element element, Parse parse, Parser parser)
          translates the given element into a domain model java object.
 

Method Detail

getCategory

java.lang.String getCategory()

matches

boolean matches(org.w3c.dom.Element element)
does this binding apply to the given element?


parse

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

Returns:
the domain model java object.
See Also:
Parser


Copyright © 2009 OW2 Consortium. All Rights Reserved.