forked from github/cordova-android

adds PreferenceNode and PreferenceSet classes as wrappers for the W3C config.xml <preference> nodes populates a PreferenceSet @preferences member
17 lines
467 B
Java
17 lines
467 B
Java
package com.phonegap;
|
|
|
|
// represents the <preference> element from the W3C config.xml spec
|
|
// see http://www.w3.org/TR/widgets/#the-preference-element-and-its-attributes
|
|
public class PreferenceNode {
|
|
public String name;
|
|
public String value;
|
|
public boolean readonly;
|
|
|
|
// constructor
|
|
public PreferenceNode(String name, String value, boolean readonly) {
|
|
this.name = name;
|
|
this.value = value;
|
|
this.readonly = readonly;
|
|
}
|
|
}
|