From db0a709f2743d9502fb601bed4a1f115d3856c61 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Sun, 28 Aug 2011 15:55:47 +0200 Subject: Prepare for weblog selection (and mess everything up). --- org/madore/damlengine/Context.java | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'org/madore/damlengine/Context.java') diff --git a/org/madore/damlengine/Context.java b/org/madore/damlengine/Context.java index 5ae7285..d001389 100644 --- a/org/madore/damlengine/Context.java +++ b/org/madore/damlengine/Context.java @@ -25,6 +25,29 @@ public class Context implements Cloneable { public GeneralContext gc; + public static abstract class WeblogSelectionContext { + } + + public static class WeblogMonthSelectionContext + extends WeblogSelectionContext { + public String year; + public String month; + public WeblogMonthSelectionContext(String year, String month) { + this.year = year; + this.month = month; + } + } + + public static class WeblogCategorySelectionContext + extends WeblogSelectionContext { + public String code; + public WeblogCategorySelectionContext(String code) { + this.code = code; + } + } + + public WeblogSelectionContext wsc; + public static class EntryContext { public String year; public String month; -- cgit v1.2.3