summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/jogamp/hungryharry/Config.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-08-23 04:13:08 +0200
committerMichael Bien <[email protected]>2010-08-23 04:13:08 +0200
commit307b85dc58eaed06e74472ce0f5d0d2026193053 (patch)
tree0afa76acffbee2eb81b36d8fa015c4b58ad014e3 /src/main/java/com/jogamp/hungryharry/Config.java
parentfa50256fae31ad8499ade311a4bfa4dc446a2ada (diff)
continued with freemarker model.
description filter. updated freemarker dependency.
Diffstat (limited to 'src/main/java/com/jogamp/hungryharry/Config.java')
-rw-r--r--src/main/java/com/jogamp/hungryharry/Config.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/com/jogamp/hungryharry/Config.java b/src/main/java/com/jogamp/hungryharry/Config.java
index 99a8363..b80a093 100644
--- a/src/main/java/com/jogamp/hungryharry/Config.java
+++ b/src/main/java/com/jogamp/hungryharry/Config.java
@@ -45,6 +45,12 @@ public class Config {
name = null;
url = null;
}
+
+ @Override
+ public String toString() {
+ return getClass().getName() + "[" + name + ", " + url+"]";
+ }
+
}
@XmlType
@@ -56,6 +62,9 @@ public class Config {
@XmlAttribute(name="idpattern")
public final String idpattern;
+ @XmlAttribute
+ public final String descriptionfilter;
+
@XmlValue
public final String text;
@@ -63,6 +72,12 @@ public class Config {
keyword = null;
text = null;
idpattern = null;
+ descriptionfilter = null;
+ }
+
+ @Override
+ public String toString() {
+ return getClass().getName() + "["+ keyword +"]";
}
}