com.threerings.jpkg.ant.dpkg.info
Class Name
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.antidote.field.text.TextField
com.threerings.antidote.field.text.SingleLineTextField
com.threerings.jpkg.ant.dpkg.info.Name
- All Implemented Interfaces:
- Field, ReferenceField, RequiresValidation, Cloneable
public class Name
- extends SingleLineTextField
Stores the <info> <name> field, which is the package name.
- See Also:
PackageName
Constructor Summary |
Name()
|
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 |
Name
public Name()
getFieldName
public String getFieldName()
- Description copied from interface:
Field
- Returns the unique name of this Field.
getPackageName
public PackageName getPackageName()
- Returns the user data converted into a
PackageName
. Cannot be called before validate().
validateTextField
protected void validateTextField()
- Description copied from class:
SingleLineTextField
- Provide concrete classes a method for additional validation.
- Specified by:
validateTextField
in class SingleLineTextField
Copyright © 2007-2008 Three Rings Design, Inc.
All Rights Reserved. Released under a BSD license.