Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/old/util/TextTag.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/old/util/TextTag.java55
1 files changed, 55 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/old/util/TextTag.java b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/old/util/TextTag.java
new file mode 100644
index 0000000000..c607d25788
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/old/util/TextTag.java
@@ -0,0 +1,55 @@
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.releng.doc.article.old.util;
+
+import com.sun.javadoc.Tag;
+
+/**
+ * @author Eike Stepper
+ */
+public class TextTag extends DelegatingTag
+{
+ private String text;
+
+ public TextTag(Tag delegate, String text)
+ {
+ super(delegate);
+ this.text = text;
+ }
+
+ @Override
+ public String kind()
+ {
+ return "Text";
+ }
+
+ @Override
+ public String name()
+ {
+ return "Text";
+ }
+
+ @Override
+ public String text()
+ {
+ if (text == null)
+ {
+ text = resolve();
+ }
+
+ return text;
+ }
+
+ protected String resolve()
+ {
+ return null;
+ }
+}

Back to the top