aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/cliqset/xrd/package-info.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-04 15:47:17 +0300
committerGravatar Vitaly Takmazov2018-10-04 15:47:17 +0300
commit50c3ab940b9c9fdf5e864d969cea25f509af14b8 (patch)
treeea4e1fd97b8774dd4e1b7aa374d5500fc770faa4 /juick-server/src/main/java/com/cliqset/xrd/package-info.java
parent2ed731f66cccdf0a38fbfda33ada8025ad186920 (diff)
RFC6415: Web Host Metadata (WIP)
Diffstat (limited to 'juick-server/src/main/java/com/cliqset/xrd/package-info.java')
-rw-r--r--juick-server/src/main/java/com/cliqset/xrd/package-info.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/cliqset/xrd/package-info.java b/juick-server/src/main/java/com/cliqset/xrd/package-info.java
new file mode 100644
index 00000000..bd8f0146
--- /dev/null
+++ b/juick-server/src/main/java/com/cliqset/xrd/package-info.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2008-2017, Juick
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+@XmlSchema(
+ namespace=XRD_NAMESPACE,
+ elementFormDefault = XmlNsForm.QUALIFIED,
+ xmlns={
+ @XmlNs(prefix= StringUtils.EMPTY, namespaceURI=XRD_NAMESPACE)
+ }
+)
+package com.cliqset.xrd;
+
+import org.apache.commons.lang3.StringUtils;
+
+import javax.xml.bind.annotation.XmlNs;
+import javax.xml.bind.annotation.XmlNsForm;
+import javax.xml.bind.annotation.XmlSchema;
+
+import static com.cliqset.xrd.XRDConstants.XRD_NAMESPACE; \ No newline at end of file