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

# Klasse AntUnit.ReferenceSet

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.ant.antunit.AntUnit.ReferenceSet

Alle implementierten Schnittstellen:
  `Cloneable`

Umschließende Klasse:
  `AntUnit`

public static class AntUnit.ReferenceSet extends org.apache.tools.ant.ProjectComponent
Defines a collection of inherited `references`, with an optional nested `Mapper` that maps them to new reference IDs in the target project.

- ## Feldübersicht

  ### Von Klasse geerbte Felder org.apache.tools.ant.ProjectComponent

  `description, location, project`

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `ReferenceSet()`

- ## Methodenübersicht

  Modifikator und Typ
  Methode
  Beschreibung
  `void`
  `addReference(AntUnit.Reference reference)`
  `void`
  `copyReferencesInto(org.apache.tools.ant.Project newProject)`
  Copy all identified references into the target project, applying any name mapping required by a nested mapper element.
  `org.apache.tools.ant.types.Mapper`
  `createMapper()`
  Create a nested mapper element.
  `void`
  `setMapper(String typeName, String from, String to)`
  Configure a single mapper to translate reference IDs.

  ### Von Klasse geerbte Methoden org.apache.tools.ant.ProjectComponent

  `clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject`

  ### Von Klasse geerbte Methoden Object

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

- ## Konstruktordetails

  - ### ReferenceSet

    public ReferenceSet()

- ## Methodendetails

  - ### addReference

    public void addReference(AntUnit.Reference reference)

  - ### createMapper

    public org.apache.tools.ant.types.Mapper createMapper()
    Create a nested mapper element.
    Gibt zurück:
      `Mapper`

  - ### setMapper

    public void setMapper(String typeName, String from, String to)
    Configure a single mapper to translate reference IDs.
    Parameter:
      `typeName` - the mapper type
      `from` - the from attribute
      `to` - the to attribute

  - ### copyReferencesInto

    public void copyReferencesInto(org.apache.tools.ant.Project newProject)
    Copy all identified references into the target project, applying any name mapping required by a nested mapper element.
    Parameter:
      `newProject` - the target project to copy references into