org.jbind.xml.schema.instantiation
Interface IElementHelper

All Known Subinterfaces:
IComponentJob
All Known Implementing Classes:
ComponentJob

public interface IElementHelper

Provides methods that are used by elements to create components and sub jobs.


Method Summary
 void addSubJob(IComponentJobHelper aHelper, IComponentSetter aSetter)
          Creates a sub job and adds it to this job.
 IComponent getComponent(IRef aGlobalRef, boolean aMustBeValidated)
          Resolves a component reference.
 

Method Detail

getComponent

public IComponent getComponent(IRef aGlobalRef,
                               boolean aMustBeValidated)
Resolves a component reference. Depend on the usage of the component it may be sufficient that a component is created but not yet validated in order to be retrieved.

Parameters:
aGlobalRef - (required).
aMustBeValidated - Determines if the retrieved component must have been validated or not. If the component is not yet validated and true is specified for this parameter then null is returned.
Returns:
(optional).

addSubJob

public void addSubJob(IComponentJobHelper aHelper,
                      IComponentSetter aSetter)
Creates a sub job and adds it to this job.

Parameters:
aHelper - (required).
aSetter - (required).