All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nz.net.ultraq.preferences.xml.XMLEntry Maven / Gradle / Ivy

Go to download

An implementation of the Java Preferences API (java.util.prefs) to store preferences in an XML file, in a subdirectory of a Java program's working directory.

There is a newer version: 2.0.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2012.08.12 at 10:21:32 PM NZST 
//


package nz.net.ultraq.preferences.xml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for Entry complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Entry">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       </sequence>
 *       <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Entry", propOrder = { "value" }) public class XMLEntry { @XmlElement(required = true) protected String value; @XmlAttribute(name = "key") protected String key; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the key property. * * @return * possible object is * {@link String } * */ public String getKey() { return key; } /** * Sets the value of the key property. * * @param value * allowed object is * {@link String } * */ public void setKey(String value) { this.key = value; } /** * Default constructor. */ public XMLEntry() { } /** * Constructor, set the key and value of the entry. * * @param key * @param value */ public XMLEntry(String key, String value) { this.key = key; this.value = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy