org.apache.tapestry.spec
Class SpecFactory

java.lang.Object
  extended by org.apache.tapestry.spec.SpecFactory

public class SpecFactory
extends Object

A Factory used by SpecificationParser to create Tapestry domain objects.

The default implementation here creates the expected runtime instances of classes in packages:

This class is extended by Spindle - the Eclipse Plugin for Tapestry

Since:
1.0.9
Author:
GWL

Constructor Summary
SpecFactory()
           
 
Method Summary
 IApplicationSpecification createApplicationSpecification()
          Creates a concrete instance of ApplicationSpecification.
 IAssetSpecification createAssetSpecification()
          Returns a new instance of IAssetSpecification.
 IBeanSpecification createBeanSpecification()
          Creates a new instance of IBeanSpecification.
 IBindingSpecification createBindingSpecification()
           
 IComponentSpecification createComponentSpecification()
          Creates a concrete instance of IComponentSpecification.
 IContainedComponent createContainedComponent()
          Creates a concrete instance of IContainedComponent.
 IBeanInitializer createExpressionBeanInitializer()
          Creates a new instance of ExpressionBeanInitializer.
 IExtensionSpecification createExtensionSpecification()
          Creates a concrete instance of IExtensionSpecification.
 ILibrarySpecification createLibrarySpecification()
          Creates an instance of LibrarySpecification.
 IListenerBindingSpecification createListenerBindingSpecification()
          Creates a new concrete instance of IListenerBindingSpecification for the given language (which is option) and script.
 IBeanInitializer createMessageBeanInitializer()
          Returns a new instance of MessageBeanInitializer.
 IParameterSpecification createParameterSpecification()
          Creates a concrete instance of ParameterSpecification.
 IPropertySpecification createPropertySpecification()
          Creates a concrete instance of IPropertySpecification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecFactory

public SpecFactory()
Method Detail

createApplicationSpecification

public IApplicationSpecification createApplicationSpecification()
Creates a concrete instance of ApplicationSpecification.


createLibrarySpecification

public ILibrarySpecification createLibrarySpecification()
Creates an instance of LibrarySpecification.

Since:
2.2

createAssetSpecification

public IAssetSpecification createAssetSpecification()
Returns a new instance of IAssetSpecification.

Since:
3.0

createBeanSpecification

public IBeanSpecification createBeanSpecification()
Creates a new instance of IBeanSpecification.

Since:
3.0

createBindingSpecification

public IBindingSpecification createBindingSpecification()

createListenerBindingSpecification

public IListenerBindingSpecification createListenerBindingSpecification()
Creates a new concrete instance of IListenerBindingSpecification for the given language (which is option) and script.

Since:
3.0

createComponentSpecification

public IComponentSpecification createComponentSpecification()
Creates a concrete instance of IComponentSpecification.


createContainedComponent

public IContainedComponent createContainedComponent()
Creates a concrete instance of IContainedComponent.


createParameterSpecification

public IParameterSpecification createParameterSpecification()
Creates a concrete instance of ParameterSpecification.


createExpressionBeanInitializer

public IBeanInitializer createExpressionBeanInitializer()
Creates a new instance of ExpressionBeanInitializer.

Since:
3.0

createMessageBeanInitializer

public IBeanInitializer createMessageBeanInitializer()
Returns a new instance of MessageBeanInitializer.

Since:
3.0

createExtensionSpecification

public IExtensionSpecification createExtensionSpecification()
Creates a concrete instance of IExtensionSpecification.

Since:
2.2

createPropertySpecification

public IPropertySpecification createPropertySpecification()
Creates a concrete instance of IPropertySpecification.

Since:
3.0