org.apache.tapestry.spec
Class SpecFactory
java.lang.Object
|
+--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:
- org.apache.tapestry.spec
- org.apache.tapestry.bean
This class is extended by Spindle - the Eclipse Plugin for Tapestry
- Since:
- 1.0.9
- Author:
- GWL
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpecFactory
public SpecFactory()
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