|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.weblab.service.cleaner.Cleaner
public class Cleaner
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.
exactSet. It's a Set that contains String. Each RDF Statement that have exactly this String as predicate is removed.regexSet. It's a Set that contains regex String. Each RDF Statement that has as predicate a String that match this regular expression is
removed.removeType. It's a Boolean. The default value is false. It as bean added to remove a specific Statement that may be included in annotation, defining the
Resource (on which is the Annotation) as a Resource. This Statement is only removed if nothing else is in the Annotation.
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 |
|---|
public Cleaner()
| Method Detail |
|---|
public org.weblab_project.services.analyser.types.ProcessReturn process(org.weblab_project.services.analyser.types.ProcessArgs args)
throws org.weblab_project.services.analyser.ProcessException
process in interface org.weblab_project.services.analyser.Analyserorg.weblab_project.services.analyser.ProcessException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||