org.ow2.weblab.service.cleaner
Class Cleaner

java.lang.Object
  extended by org.ow2.weblab.service.cleaner.Cleaner
All Implemented Interfaces:
org.weblab_project.services.analyser.Analyser

public class Cleaner
extends java.lang.Object
implements org.weblab_project.services.analyser.Analyser

Component that process any Resource to remove some statements from its Annotation.
The cleaning method is recursively called on any sub-Resource of the given Resource.
When an Annotation does not contain any statement after the cleaning, then this Annotation is removed ; and so does the Segment without Annotation after cleaning.
This service is easy to configure and use.

  1. The only configuration file you need to change is AnnotationCleaner.xml. It is a Spring Bean container XML file. It features 2 main beans and 1 other. At least one of the two main beans is compulsory but they can be used together.

See Also:
Pattern

Constructor Summary
Cleaner()
           
 
Method Summary
 org.weblab_project.services.analyser.types.ProcessReturn process(org.weblab_project.services.analyser.types.ProcessArgs args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cleaner

public Cleaner()
Method Detail

process

public org.weblab_project.services.analyser.types.ProcessReturn process(org.weblab_project.services.analyser.types.ProcessArgs args)
                                                                 throws org.weblab_project.services.analyser.ProcessException
Specified by:
process in interface org.weblab_project.services.analyser.Analyser
Throws:
org.weblab_project.services.analyser.ProcessException


Copyright © 2004-2010. All Rights Reserved.