Tabnine Logo
PrettyAnnotationHandler.processPrettyActionAnnotation
Code IndexAdd Tabnine to your IDE (free)

How to use
processPrettyActionAnnotation
method
in
com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler

Best Java code snippets using com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler.processPrettyActionAnnotation (Showing top 4 results out of 315)

origin: com.ocpsoft/prettyfaces-jsf2

/**
* Searches for {@link URLAction} or {@link URLActions} annotations on a
* method.
* 
* @param method Method to scan
* @param classMappingIds The mapping IDs of the class this method belongs to
*/
private void processMethodAnnotations(Method method, String[] classMappingIds)
{
 // is there a @URLAction annotation on the class?
 URLAction actionAnnotation = method.getAnnotation(URLAction.class);
 if (actionAnnotation != null)
 {
   processPrettyActionAnnotation(actionAnnotation, method, classMappingIds);
 }
 // is there a @URLAction container annotation on the class?
 URLActions actionsAnnotation = method.getAnnotation(URLActions.class);
 if (actionsAnnotation != null)
 {
   // process all @URLAction annotations
   for (URLAction child : actionsAnnotation.actions())
   {
    processPrettyActionAnnotation(child, method, classMappingIds);
   }
 }
}
origin: ocpsoft/prettyfaces

/**
* Searches for {@link URLAction} or {@link URLActions} annotations on a
* method.
* 
* @param method Method to scan
* @param classMappingIds The mapping IDs of the class this method belongs to
*/
private void processMethodAnnotations(Method method, String[] classMappingIds)
{
 // is there a @URLAction annotation on the class?
 URLAction actionAnnotation = method.getAnnotation(URLAction.class);
 if (actionAnnotation != null)
 {
   processPrettyActionAnnotation(actionAnnotation, method, classMappingIds);
 }
 // is there a @URLAction container annotation on the class?
 URLActions actionsAnnotation = method.getAnnotation(URLActions.class);
 if (actionsAnnotation != null)
 {
   // process all @URLAction annotations
   for (URLAction child : actionsAnnotation.actions())
   {
    processPrettyActionAnnotation(child, method, classMappingIds);
   }
 }
}
origin: ocpsoft/rewrite

/**
* Searches for {@link URLAction} or {@link URLActions} annotations on a method.
* 
* @param method Method to scan
* @param classMappingIds The mapping IDs of the class this method belongs to
*/
private void processMethodAnnotations(Method method, String[] classMappingIds)
{
 // is there a @URLAction annotation on the class?
 URLAction actionAnnotation = method.getAnnotation(URLAction.class);
 if (actionAnnotation != null)
 {
   processPrettyActionAnnotation(actionAnnotation, method, classMappingIds);
 }
 // is there a @URLAction container annotation on the class?
 URLActions actionsAnnotation = method.getAnnotation(URLActions.class);
 if (actionsAnnotation != null)
 {
   // process all @URLAction annotations
   for (URLAction child : actionsAnnotation.actions())
   {
    processPrettyActionAnnotation(child, method, classMappingIds);
   }
 }
}
origin: ocpsoft/prettyfaces

/**
* Searches for {@link URLAction} or {@link URLActions} annotations on a
* method.
* 
* @param method Method to scan
* @param classMappingIds The mapping IDs of the class this method belongs to
*/
private void processMethodAnnotations(Method method, String[] classMappingIds)
{
 // is there a @URLAction annotation on the class?
 URLAction actionAnnotation = method.getAnnotation(URLAction.class);
 if (actionAnnotation != null)
 {
   processPrettyActionAnnotation(actionAnnotation, method, classMappingIds);
 }
 // is there a @URLAction container annotation on the class?
 URLActions actionsAnnotation = method.getAnnotation(URLActions.class);
 if (actionsAnnotation != null)
 {
   // process all @URLAction annotations
   for (URLAction child : actionsAnnotation.actions())
   {
    processPrettyActionAnnotation(child, method, classMappingIds);
   }
 }
}
com.ocpsoft.pretty.faces.config.annotationPrettyAnnotationHandlerprocessPrettyActionAnnotation

Javadoc

Creates a UrlAction object from the supplied URLActionannotation

Popular methods of PrettyAnnotationHandler

  • <init>
    Constructor
  • build
    This methods adds all mappings found to the supplied PrettyConfigBuilder. It should be called after
  • buildPrettyExpression
    Creates a PrettyExpression for a class and component. This method may return a ConstantExpression or
  • isBlank
    Returns true for "blank" strings.
  • join
    Joins the list of values.
  • processClassMappingAnnotations
    Checks for PrettyFaces mapping annotations on a single class
  • processFieldAnnotations
    Searches for URLQueryParameter annotations on a single field.
  • processMethodAnnotations
    Searches for URLAction or URLActions annotations on a method.
  • processPrettyBeanAnnotation
    Checks the class for a URLBeanName annotation.
  • processPrettyMappingAnnotation
    Process a single URLMapping annotation.
  • processClass
    This method scans the supplied class for PrettyFaces annotations. The method must be called for ever
  • processClass

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • ImageIO (javax.imageio)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now