org.jbind.xml.schema.reader
Class SchemaJob

java.lang.Object
  extended byorg.jbind.xml.schema.reader.Job
      extended byorg.jbind.xml.schema.reader.SchemaJob
All Implemented Interfaces:
IHasLocation, IHasTopLevelJobs, IJob, ISchemaJob

public class SchemaJob
extends Job
implements ISchemaJob


Constructor Summary
SchemaJob(IInstantiator anInstantiator, ISchemaElement aSchemaElement, java.net.URL anUrl)
           
 
Method Summary
 void addComponentJob(IComponentJobHelper aHelper)
           
 void addCreatedComponent(IComponent aComponent, IConstraintViolations aViolations)
           
 void addImportJob(IImportJobHelper aHelper)
           
 void addIncludeJob(IIncludeJobHelper aHelper)
           
 void addRedefineJob(IRedefineJobHelper aHelper)
           
 void addValidatedComponent(IComponent aComponent, IConstraintViolations aViolations)
           
 void collectRefsForCompletion(IJobRefs aJobRefs)
           
 void collectRefsForCreation(IJobRefs aJobRefs)
           
 void collectRefsForValidation(IJobRefs aJobRefs)
           
 void doExecuteCompletion(IConstraintViolations aViolations)
           
 void doExecuteCreation(IConstraintViolations aViolations)
           
 void doExecuteValidation(IConstraintViolations aViolations)
           
 java.lang.String getDescription()
          Gets a short description of the job.
 IInstantiator getInstantiator()
          Gets the instantiator that controls the execution of this job.
 java.net.URL getUrl()
           
 
Methods inherited from class org.jbind.xml.schema.reader.Job
addSubJob, checkSubJobsValidated, executeCompletion, executeCreation, executeValidation, getHelper, getIsValidated, getLocation, getParent, iterRefsForCompletion, iterRefsForCreation, iterRefsForValidation, iterSubJobs, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbind.xml.schema.reader.IJob
checkSubJobsValidated, executeCompletion, executeCreation, executeValidation, getIsValidated, getParent, iterRefsForCompletion, iterRefsForCreation, iterRefsForValidation, iterSubJobs, setParent
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 

Constructor Detail

SchemaJob

public SchemaJob(IInstantiator anInstantiator,
                 ISchemaElement aSchemaElement,
                 java.net.URL anUrl)
Method Detail

getInstantiator

public IInstantiator getInstantiator()
Description copied from interface: IJob
Gets the instantiator that controls the execution of this job.

Specified by:
getInstantiator in interface IJob
Returns:
An instantiator. (required)

getUrl

public java.net.URL getUrl()
Specified by:
getUrl in interface ISchemaJob

addCreatedComponent

public void addCreatedComponent(IComponent aComponent,
                                IConstraintViolations aViolations)
Specified by:
addCreatedComponent in interface ISchemaJob

addValidatedComponent

public void addValidatedComponent(IComponent aComponent,
                                  IConstraintViolations aViolations)
Specified by:
addValidatedComponent in interface ISchemaJob

collectRefsForCreation

public void collectRefsForCreation(IJobRefs aJobRefs)
Specified by:
collectRefsForCreation in class Job

collectRefsForCompletion

public void collectRefsForCompletion(IJobRefs aJobRefs)
Specified by:
collectRefsForCompletion in class Job

collectRefsForValidation

public void collectRefsForValidation(IJobRefs aJobRefs)
Specified by:
collectRefsForValidation in class Job

doExecuteCreation

public void doExecuteCreation(IConstraintViolations aViolations)
Specified by:
doExecuteCreation in class Job

doExecuteCompletion

public void doExecuteCompletion(IConstraintViolations aViolations)
Specified by:
doExecuteCompletion in class Job

doExecuteValidation

public void doExecuteValidation(IConstraintViolations aViolations)
Specified by:
doExecuteValidation in class Job

getDescription

public java.lang.String getDescription()
Description copied from interface: IJob
Gets a short description of the job.

Specified by:
getDescription in interface IJob
Returns:
A string (required).

addImportJob

public void addImportJob(IImportJobHelper aHelper)
Specified by:
addImportJob in interface IHasTopLevelJobs

addIncludeJob

public void addIncludeJob(IIncludeJobHelper aHelper)
Specified by:
addIncludeJob in interface IHasTopLevelJobs

addRedefineJob

public void addRedefineJob(IRedefineJobHelper aHelper)
Specified by:
addRedefineJob in interface IHasTopLevelJobs

addComponentJob

public void addComponentJob(IComponentJobHelper aHelper)
Specified by:
addComponentJob in interface IHasTopLevelJobs