Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.help/src/org/eclipse/emf/cdo/releng/help/writer/examples/XmlSnippets.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.help/src/org/eclipse/emf/cdo/releng/help/writer/examples/XmlSnippets.java66
1 files changed, 66 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.help/src/org/eclipse/emf/cdo/releng/help/writer/examples/XmlSnippets.java b/plugins/org.eclipse.emf.cdo.releng.help/src/org/eclipse/emf/cdo/releng/help/writer/examples/XmlSnippets.java
new file mode 100644
index 0000000000..b7cf677ba1
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.releng.help/src/org/eclipse/emf/cdo/releng/help/writer/examples/XmlSnippets.java
@@ -0,0 +1,66 @@
+/*
+ * Copyright (c) 2011, 2012, 2015 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.help.writer.examples;
+
+/**
+ * Embedding XML Snippets
+ * <p>
+ * {@toc}
+ */
+public class XmlSnippets
+{
+ /**
+ * XML Example with a Callout
+ * <p>
+ * {@link #cdoServerXml()}
+ */
+ public class XmlExample
+ {
+ /**
+ * @snippet xml ../../../../../../../../../../org.eclipse.emf.cdo.server.product/config/cdo-server.xml
+ * @callout The mapping strategy "horizontal" delegates to a mapping strategy chosen to match the repository
+ * properties <i>supportingAudits</i> and <i>supportingBranches</i>.
+ */
+ public void cdoServerXml()
+ {
+ }
+ }
+
+ /**
+ * XMI Example
+ * <p>
+ * {@link #companyEcore()}
+ */
+ public class XmiExample
+ {
+ /**
+ * @snippet xml ../../../../../../../../../../org.eclipse.emf.cdo.examples.company/model/company.ecore
+ */
+ public void companyEcore()
+ {
+ }
+ }
+
+ // /**
+ // * HTML Example
+ // * <p>
+ // * {@link #aboutHtml()}
+ // */
+ // public class HtmlExample
+ // {
+ // /**
+ // * @snippet xml ../../../../../../../../../about.html
+ // */
+ // public void aboutHtml()
+ // {
+ // }
+ // }
+}

Back to the top