org.nakedobjects.metamodel.facets.object.parseable
Class ParseableFacetFactory

java.lang.Object
  extended by org.nakedobjects.metamodel.facets.FacetFactoryAbstract
      extended by org.nakedobjects.metamodel.java5.AnnotationBasedFacetFactoryAbstract
          extended by org.nakedobjects.metamodel.facets.object.parseable.ParseableFacetFactory
All Implemented Interfaces:
NakedObjectConfigurationAware, FacetFactory, AnnotationBasedFacetFactory, RuntimeContextAware, SpecificationLoaderAware

public class ParseableFacetFactory
extends AnnotationBasedFacetFactoryAbstract
implements NakedObjectConfigurationAware, RuntimeContextAware


Constructor Summary
ParseableFacetFactory()
           
 
Method Summary
 NakedObjectConfiguration getNakedObjectConfiguration()
           
 boolean process(java.lang.Class<?> cls, MethodRemover methodRemover, FacetHolder holder)
          Process the class, and return the correctly setup annotation if present.
 void setNakedObjectConfiguration(NakedObjectConfiguration configuration)
          Injected since NakedObjectConfigurationAware.
 void setRuntimeContext(RuntimeContext runtimeContext)
          Injected since RuntimeContextAware.
 
Methods inherited from class org.nakedobjects.metamodel.java5.AnnotationBasedFacetFactoryAbstract
decodeWhen, getAnnotation, getAnnotation, getParameterAnnotations, isAnnotationPresent, isString, recognizes
 
Methods inherited from class org.nakedobjects.metamodel.facets.FacetFactoryAbstract
getFeatureTypes, getSpecificationLoader, process, processParams, setSpecificationLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseableFacetFactory

public ParseableFacetFactory()
Method Detail

process

public boolean process(java.lang.Class<?> cls,
                       MethodRemover methodRemover,
                       FacetHolder holder)
Description copied from interface: FacetFactory
Process the class, and return the correctly setup annotation if present.

Specified by:
process in interface FacetFactory
Overrides:
process in class FacetFactoryAbstract
Parameters:
cls - - class being processed
methodRemover - - allow any methods of the class to be removed
holder - - to attach the facets to
Returns:
true if any facets were added, false otherwise.

getNakedObjectConfiguration

public NakedObjectConfiguration getNakedObjectConfiguration()

setNakedObjectConfiguration

public void setNakedObjectConfiguration(NakedObjectConfiguration configuration)
Injected since NakedObjectConfigurationAware.

Specified by:
setNakedObjectConfiguration in interface NakedObjectConfigurationAware

setRuntimeContext

public void setRuntimeContext(RuntimeContext runtimeContext)
Injected since RuntimeContextAware.

Specified by:
setRuntimeContext in interface RuntimeContextAware


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.