de.bsd.x2svg.ant
Class Output

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by de.bsd.x2svg.ant.Output
All Implemented Interfaces:
java.lang.Cloneable

public class Output
extends org.apache.tools.ant.types.DataType

The output type, that acts as a wrapper for a collection of output formats.

Since:
1.1
Author:
gfloodgate

Field Summary
private  java.util.Set<OutputType> types
          The collection of formats to output.
 
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
Output()
           
 
Method Summary
 void addConfiguredFormat(Format type)
          Add an output format to the format collection.
 java.util.Set<OutputType> getOutputTypes()
          Get the set of output formats in this collection.
 
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, tooManyAttributes, toString
 
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
 

Field Detail

types

private java.util.Set<OutputType> types
The collection of formats to output.

Constructor Detail

Output

public Output()
Method Detail

addConfiguredFormat

public void addConfiguredFormat(Format type)
Add an output format to the format collection.

Parameters:
type - The format ant type to add.

getOutputTypes

public java.util.Set<OutputType> getOutputTypes()
Get the set of output formats in this collection.

Returns:
A read-only set of output format types in this conversion collection.


x2svg version 1.2.1