com.googlecode.jslint4java.ant
Class PredefElement

java.lang.Object
  extended by com.googlecode.jslint4java.ant.PredefElement

public class PredefElement
extends Object

An ant element to be used as a child of JSLintTask. It captures a list of predefined global variable names.

Author:
dom

Constructor Summary
PredefElement(org.apache.tools.ant.Project project)
           
 
Method Summary
 void addText(String s)
          Standard ant interface to add the text inside an element.
 String getText()
          Return the text we've captured.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredefElement

public PredefElement(org.apache.tools.ant.Project project)
Method Detail

addText

public void addText(String s)
Standard ant interface to add the text inside an element. Properties are expanded.


getText

public String getText()
Return the text we've captured. This should be a comma separated list, but the splitting will be handled elsewhere.



Copyright © 2007-2012. All Rights Reserved.