com.threerings.jpkg.ant.dpkg.info.description
Class Blank
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.threerings.antidote.field.BaseComponent
com.threerings.antidote.field.BaseField
com.threerings.jpkg.ant.dpkg.info.description.Blank
- All Implemented Interfaces:
- Field, ReferenceField, RequiresValidation, DescriptionAction, Cloneable
public class Blank
- extends BaseField
- implements DescriptionAction
A DescriptionAction
field that inserts a blank line into the Description
.
- See Also:
PackageDescription
Constructor Summary |
Blank()
|
Methods inherited from class com.threerings.antidote.field.BaseComponent |
appendViolation, appendViolationList, getReferencedField, isReference, registerField, reportConflictingProperties, reportUnsetDependentFields, reportUnsetDependentProperties, reportUnsetField, setReference, validate, validateChildFields, validateChildFields, validateOptionalProperties, validateProperties, validateProperties |
Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from interface com.threerings.antidote.field.Field |
getLocation |
Blank
public Blank()
getFieldName
public String getFieldName()
- Description copied from interface:
Field
- Returns the unique name of this Field.
- Specified by:
getFieldName
in interface Field
apply
public List<Violation> apply(PackageDescription description)
- Description copied from interface:
DescriptionAction
- Apply this action to the given
PackageDescription
object.
- Specified by:
apply
in interface DescriptionAction
- Returns:
- Any
Violation
generated while applying the action.
validateField
protected void validateField()
- Description copied from class:
BaseComponent
- Give each subclass a chance to do field specific validation.
- Specified by:
validateField
in class BaseComponent
Copyright © 2007-2008 Three Rings Design, Inc.
All Rights Reserved. Released under a BSD license.