org.apache.catalina.ant

Class ValidatorTask

public class ValidatorTask extends BaseRedirectorHelperTask

Task for validating a web application deployment descriptor, using XML schema validation.

Since: 5.0

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Remy Maucherat

Field Summary
protected Stringpath
The path to the webapp directory.
Method Summary
voidexecute()
Execute the specified command.
StringgetPath()
voidsetPath(String path)

Field Detail

path

protected String path
The path to the webapp directory.

Method Detail

execute

public void execute()
Execute the specified command. This logic only performs the common attribute validation required by all subclasses; it does not perform any functional logic directly.

Throws: BuildException if a validation error occurs

getPath

public String getPath()

setPath

public void setPath(String path)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.