From 94c3621743fa49b05a5a68d931d6d8b3b6398cd9 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sun, 16 May 2010 18:12:27 +0200 Subject: initial import. --- src/main/java/com/jogamp/hungryharry/Config.java | 101 +++++++++++ .../com/jogamp/hungryharry/FeedAggregator.java | 187 +++++++++++++++++++++ src/main/java/com/jogamp/hungryharry/config.xml | 41 +++++ 3 files changed, 329 insertions(+) create mode 100644 src/main/java/com/jogamp/hungryharry/Config.java create mode 100644 src/main/java/com/jogamp/hungryharry/FeedAggregator.java create mode 100644 src/main/java/com/jogamp/hungryharry/config.xml (limited to 'src/main') diff --git a/src/main/java/com/jogamp/hungryharry/Config.java b/src/main/java/com/jogamp/hungryharry/Config.java new file mode 100644 index 0000000..9b69510 --- /dev/null +++ b/src/main/java/com/jogamp/hungryharry/Config.java @@ -0,0 +1,101 @@ +/* + * Created on Saturday, May 15 2010 17:07 + */ +package com.jogamp.hungryharry; + +import java.util.List; +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.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + +/** + * Hungry Harrie's configuration. + * @author Michael Bien + */ +@XmlType(name = "") +@XmlRootElement(name = "config") +public class Config { + + @XmlElement(required = true) + public final List feed; + + @XmlElement(required = true) + public final List