|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.types.DataType de.bsd.x2svg.ant.Format
public class Format
An ant data type to wrapper an X2Svg OutputType
object.
Field Summary | |
---|---|
private java.lang.String |
type
The type attribute of the format to use. |
private static java.util.Locale |
US_LOCALE
A locale used for uppercase conversion - en_US is safe, as no non-ASCII characters are expected. |
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 | |
---|---|
Format()
|
Method Summary | |
---|---|
OutputType |
getOutputType()
Get the OutputType instance representing the format. |
java.lang.String |
getType()
Get the output format requested. |
void |
setType(java.lang.String type)
Set the requested output format. |
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 |
---|
private static final java.util.Locale US_LOCALE
private java.lang.String type
Constructor Detail |
---|
public Format()
Method Detail |
---|
public java.lang.String getType()
public void setType(java.lang.String type)
type
- The string type of the requested format.public OutputType getOutputType()
OutputType
instance representing the format.
OutputType
representing the requested otuput format,
or null if the specified type is invalid or blank.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |