org.vafer.jdeb.ant
Class Data

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by org.apache.tools.ant.types.PatternSet
              extended by org.vafer.jdeb.ant.Data
All Implemented Interfaces:
java.lang.Cloneable, DataProducer

public final class Data
extends org.apache.tools.ant.types.PatternSet
implements DataProducer

Ant "data" elment acting as a factory for DataProducers. So far Archive and Directory producers are supported. Both support the usual ant pattern set matching.

Author:
tcurdt

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.tools.ant.types.PatternSet
org.apache.tools.ant.types.PatternSet.NameEntry
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Data()
           
 
Method Summary
 void addMapper(Mapper pMapper)
           
 void produce(DataConsumer pReceiver)
           
 void setSrc(java.io.File pSrc)
           
 
Methods inherited from class org.apache.tools.ant.types.PatternSet
addConfiguredPatternset, append, clone, createExclude, createExcludesFile, createInclude, createIncludesFile, getExcludePatterns, getIncludePatterns, hasPatterns, setExcludes, setExcludesfile, setIncludes, setIncludesfile, setRefid, toString
 
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, tooManyAttributes
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Data

public Data()
Method Detail

setSrc

public void setSrc(java.io.File pSrc)

addMapper

public void addMapper(Mapper pMapper)

produce

public void produce(DataConsumer pReceiver)
Specified by:
produce in interface DataProducer


Copyright © 2007. All Rights Reserved.