com.resilientedge.util.prefs.xml
Class XMLEntry
java.lang.Object
|
+--com.resilientedge.util.prefs.xml.XMLEntry
- All Implemented Interfaces:
- java.io.Serializable
- public class XMLEntry
- extends java.lang.Object
- implements java.io.Serializable
Represents a name-value pair
- Author:
- jwh
- See Also:
- Serialized Form
Constructor Summary |
XMLEntry()
Default constructor |
XMLEntry(java.lang.String name,
java.lang.String value)
Construct a new instance with the given name/value pair |
Method Summary |
java.lang.String |
getName()
Returns the name of the property |
java.lang.String |
getValue()
Returns the value of the property |
void |
setName(java.lang.String name)
Sets the name of the property |
void |
setValue(java.lang.String value)
Returns the value of the property |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLEntry
public XMLEntry()
- Default constructor
XMLEntry
public XMLEntry(java.lang.String name,
java.lang.String value)
- Construct a new instance with the given name/value pair
- Parameters:
name
- the name of the propertyvalue
- the value of the property
setName
public void setName(java.lang.String name)
- Sets the name of the property
- Parameters:
name
- the name of the property
setValue
public void setValue(java.lang.String value)
- Returns the value of the property
- Parameters:
value
- the value of the property
getName
public java.lang.String getName()
- Returns the name of the property
- Returns:
- the name of the property
getValue
public java.lang.String getValue()
- Returns the value of the property
- Returns:
- the value of the property
Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.