AntUnit.Reference (ant-antunit API)
Description: declaration: package: org.apache.ant.antunit, class: AntUnit, class: Reference

# Klasse AntUnit.Reference

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

Umschließende Klasse:
  `AntUnit`

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

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `Reference()`

- ## Methodenübersicht

  Modifikator und Typ
  Methode
  Beschreibung
  `void`
  `addMatchingReferences(Hashtable<String,Object> src, Collection<String> dest)`
  Add to `dest` any reference IDs in `src` matching this reference descriptor
  `String`
  `getRegex()`
  `void`
  `setRegex(String regex)`
  Set a regular expression to match references.

  ### Von Klasse geerbte Methoden org.apache.tools.ant.taskdefs.Ant.Reference

  `getToRefid, setToRefid`

  ### Von Klasse geerbte Methoden org.apache.tools.ant.types.Reference

  `getProject, getReferencedObject, getReferencedObject, getRefId, setProject, setRefId`

  ### Von Klasse geerbte Methoden Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Konstruktordetails

  - ### Reference

    public Reference()

- ## Methodendetails

  - ### getRegex

    public String getRegex()

  - ### setRegex

    public void setRegex(String regex)
    Set a regular expression to match references.
    Parameter:
      `regex` - the regular expression

  - ### addMatchingReferences

    public void addMatchingReferences(Hashtable<String,Object> src, Collection<String> dest)
    Add to `dest` any reference IDs in `src` matching this reference descriptor
    Parameter:
      `src` - table of references to check
      `dest` - set of reference IDs matching this reference pattern