org.ow2.weblab.services.normaliser.xml
Class XmlNormaliser
java.lang.Object
org.ow2.weblab.services.normaliser.xml.XmlNormaliser
- All Implemented Interfaces:
- org.weblab_project.services.analyser.Analyser
public class XmlNormaliser
- extends java.lang.Object
- implements org.weblab_project.services.analyser.Analyser
XML normaliser extracts a list of expressions defined in configuration bean with Xpath syntax.
|
Method Summary |
protected static org.weblab_project.core.model.ComposedUnit |
checkArgs(org.weblab_project.services.analyser.types.ProcessArgs args)
|
NormaliserConfig |
getConf()
|
org.weblab_project.services.analyser.types.ProcessReturn |
process(org.weblab_project.services.analyser.types.ProcessArgs args)
|
void |
setConf(NormaliserConfig conf)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlNormaliser
public XmlNormaliser()
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
checkArgs
protected static org.weblab_project.core.model.ComposedUnit checkArgs(org.weblab_project.services.analyser.types.ProcessArgs args)
throws org.weblab_project.services.analyser.ProcessException
- Parameters:
args - The ProcessArgs of the process method.
- Returns:
- The
ComposedUnit that must be contained by args.
- Throws:
org.weblab_project.services.analyser.ProcessException - If resource in args is not a ComposedUnit.
getConf
public NormaliserConfig getConf()
- Returns:
- the conf
setConf
public void setConf(NormaliserConfig conf)
- Parameters:
conf - the conf to set
Copyright © 2004-2012. All Rights Reserved.