|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.ant.types.KeyValueType
public class KeyValueType
Datatype holding a key
, value
and type
property.
Constructor Summary | |
---|---|
KeyValueType()
Creates a new KeyValueType instance. |
Method Summary | |
---|---|
KeyValueType |
clone()
Creates and returns a copy of this object. |
String |
getKey()
Gets the value of the key property. |
Object |
getObject(org.apache.tools.ant.Location location)
Gets the object of the instance. |
Class<?> |
getType()
Gets the value of the type property. |
String |
getValue()
Gets the value of the value property. |
void |
setKey(String k)
Sets the value of the key property. |
void |
setType(Class<?> t)
Sets the value of the type property. |
void |
setValue(String v)
Sets the value of the value property. |
String |
toString()
Creates and returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyValueType()
KeyValueType
instance.
Method Detail |
---|
public final String getKey()
key
property.
key
property.setKey(java.lang.String)
public final void setKey(String k)
key
property.
k
- The new value of the key
property.getKey()
public final String getValue()
value
property.
value
property or null
.setValue(java.lang.String)
public final void setValue(String v)
value
property.
v
- The new value of the value
property or null
.getValue()
public final Class<?> getType()
type
property.
type
property or null
.setType(java.lang.Class)
public final void setType(Class<?> t)
type
property.
t
- The new value of the type
property or null
.getType()
public Object getObject(org.apache.tools.ant.Location location) throws org.apache.tools.ant.BuildException
location
- The location the object is requested at.
null
.
NullPointerException
- if location
is null
.
org.apache.tools.ant.BuildException
- if getting the object fails.getType()
,
getValue()
public KeyValueType clone()
clone
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |