Class AntUnit.Reference

java.lang.Object
org.apache.tools.ant.types.Reference
org.apache.tools.ant.taskdefs.Ant.Reference
org.apache.ant.antunit.AntUnit.Reference
Enclosing class:
AntUnit

public static class AntUnit.Reference extends org.apache.tools.ant.taskdefs.Ant.Reference
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.apache.tools.ant.util.regexp.RegexpMatcher
     
    private String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add to dest any reference IDs in src matching this reference descriptor
     
    void
    Set a regular expression to match references.

    Methods inherited from class org.apache.tools.ant.taskdefs.Ant.Reference

    getToRefid, setToRefid

    Methods inherited from class org.apache.tools.ant.types.Reference

    getProject, getReferencedObject, getReferencedObject, getRefId, setProject, setRefId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • regex

      private String regex
    • matcher

      private org.apache.tools.ant.util.regexp.RegexpMatcher matcher
  • Constructor Details

    • Reference

      public Reference()
  • Method Details

    • getRegex

      public String getRegex()
    • setRegex

      public void setRegex(String regex)
      Set a regular expression to match references.
      Parameters:
      regex - the regular expression
    • addMatchingReferences

      public void addMatchingReferences(Hashtable src, Collection dest)
      Add to dest any reference IDs in src matching this reference descriptor
      Parameters:
      src - table of references to check
      dest - set of reference IDs matching this reference pattern