You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by jo...@apache.org on 2006/11/24 13:15:06 UTC

svn commit: r478855 [10/21] - in /webservices/jaxme/branches/MAVEN/jaxme-xs: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/ws/ src/main/java/org/apache/ws/jaxme/ src/main/java/org/apache/ws/jaxme...

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsDerivationSet.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsDerivationSet.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsDerivationSet.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsDerivationSet.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,134 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+import java.util.StringTokenizer;
+
+/** <p>Implementation of <code>xs:derivationset</code>.
+ * Follows this specification:
+ * <pre>
+ *  &lt;xs:simpleType name="derivationSet"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation&gt;
+ *        A utility type, not for public use
+ *      &lt;/xs:documentation&gt;
+ *      &lt;xs:documentation&gt;
+ *        #all or (possibly empty) subset of {extension, restriction}
+ *      &lt;/xs:documentation&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:union&gt;
+ *      &lt;xs:simpleType&gt;
+ *        &lt;xs:restriction base="xs:token"&gt;
+ *          &lt;xs:enumeration value="#all"/&gt;
+ *        &lt;/xs:restriction&gt;
+ *      &lt;/xs:simpleType&gt;
+ *      &lt;xs:simpleType&gt;
+ *        &lt;xs:list itemType="xs:reducedDerivationControl"/&gt;
+ *      &lt;/xs:simpleType&gt;
+ *    &lt;/xs:union&gt;
+ *  &lt;/xs:simpleType&gt;
+ * </pre>
+ * </p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public class XsDerivationSet {
+  boolean extensionAllowed, restrictionAllowed;
+
+  /** <p>Returns whether extension is allowed.</p>
+   */
+  public boolean isExtensionAllowed() {
+    return extensionAllowed;
+  }
+
+  /** <p>Sets whether extension is allowed.</p>
+   */
+  public void setExtensionAllowed(boolean pExtensionAllowed) {
+    extensionAllowed = pExtensionAllowed;
+  }
+
+  /** <p>Returns whether restriction is allowed.</p>
+   */
+  public boolean isRestrictionAllowed() {
+    return restrictionAllowed;
+  }
+
+  /** <p>Sets whether restriction is allowed.</p>
+   */
+  public void setRestrictionAllowed(boolean pRestrictionAllowed) {
+    restrictionAllowed = pRestrictionAllowed;
+  }
+
+  /** <p>Returns a <code>DerivationSet</code> matching the given
+   * value.</p>
+   */
+  public static XsDerivationSet valueOf(String pValue) {
+    return new XsDerivationSet(pValue);
+  }
+
+  /** <p>Creates a new DerivationSet with the given value.</p>
+   */
+  public XsDerivationSet(String pValue) {
+    if ("#all".equals(pValue)) {
+      setExtensionAllowed(true);
+      setRestrictionAllowed(true);
+    } else {
+      for (StringTokenizer st = new StringTokenizer(pValue, " ");  st.hasMoreTokens();  ) {
+        String s = st.nextToken();
+        if ("extension".equals(s)) {
+          setExtensionAllowed(true);
+        } else if ("restriction".equals(s)) {
+          setRestrictionAllowed(true);
+        } else {
+          throw new IllegalArgumentException("Invalid derivation set value: " + pValue + "; the token " + s + " did not resolve to either of 'extension' or 'restriction'");
+        }
+      }
+    }
+  }
+
+  public String toString() {
+    if (isExtensionAllowed()) {
+      if (isRestrictionAllowed()) {
+        return "extension restriction";
+      } else {
+        return "extension";
+      }
+    } else {
+      if (isRestrictionAllowed()) {
+        return "restriction";
+      } else {
+        return "";
+      }
+    }
+  }
+
+  public boolean equals(Object o) {
+    if (o == null  ||  !(XsDerivationSet.class.equals(o.getClass()))) {
+      return false;
+    }
+    XsDerivationSet ds = (XsDerivationSet) o;
+    return ds.extensionAllowed == extensionAllowed  &&
+            ds.restrictionAllowed == restrictionAllowed;
+  }
+
+  public int hashCode() {
+    int result = 0;
+    if (extensionAllowed) { result += 1; }
+    if (restrictionAllowed) { result += 2; }
+    return result;
+  }
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAnnotation.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAnnotation.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAnnotation.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAnnotation.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,67 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+
+/** <p>Interface of <code>xs:annotation</code>, as specified
+ * by the following:
+ * <pre>
+ *  &lt;xs:element name="annotation" id="annotation"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-annotation"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:extension base="xs:openAttrs"&gt;
+ *          &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+ *            &lt;xs:element ref="xs:appinfo"/&gt;
+ *            &lt;xs:element ref="xs:documentation"/&gt;
+ *          &lt;/xs:choice&gt;
+ *          &lt;xs:attribute name="id" type="xs:ID"/&gt;
+ *        &lt;/xs:extension&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEAnnotation extends XsTOpenAttrs {
+  public void setId(XsID pId);
+  public XsID getId();
+
+  /** <p>Creates a new 'appinfo' child element.</p>
+   */
+  public XsEAppinfo createAppinfo();
+  /** <p>Returns all the 'appinfo' child elements in the
+   * order of creation by {@link #createAppinfo()}.</p>
+   */
+  public XsEAppinfo[] getAppinfos();
+
+  /** <p>Creates a new 'documentation' child element.</p>
+   */
+  public XsEDocumentation createDocumentation();
+  /** <p>Returns all the 'documentation' child elements in
+   * the order of creation by {@link #createDocumentation()}.</p>
+   */
+  public XsEDocumentation[] getDocumentations();
+
+  /** <p>Returns all the annotations child elements in the
+   * order of creation.</p>
+   */
+  public Object[] getChilds();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAny.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAny.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAny.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAny.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,39 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Implementation of the <code>xs:any</code> element, as
+ * specified by the following:
+ * <pre>
+ *  &lt;xs:element name="any" id="any"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-any"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:extension base="xs:wildcard"&gt;
+ *          &lt;xs:attributeGroup ref="xs:occurs"/&gt;
+ *        &lt;/xs:extension&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEAny extends XsTWildcard, XsAGOccurs, XsTNestedParticle {
+
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAppinfo.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAppinfo.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAppinfo.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEAppinfo.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of <code>xs:appinfo</code>, as specified by the
+ * following:
+ * <pre>
+ *  &lt;xs:element name="appinfo" id="appinfo"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-appinfo"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType mixed="true"&gt;
+ *      &lt;xs:sequence minOccurs="0" maxOccurs="unbounded"&gt;
+ *        &lt;xs:any processContents="lax"/&gt;
+ *      &lt;/xs:sequence&gt;
+ *      &lt;xs:attribute name="source" type="xs:anyURI"/&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEAppinfo extends XsObject {
+  public void setSource(XsAnyURI pSource);
+  public XsAnyURI getSource();
+
+  public Object[] getChilds();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEChoice.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEChoice.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEChoice.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEChoice.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of the <code>xs:choice</code> element, with the following
+ * specification:
+ * <pre>
+ *  &lt;xs:element name="choice" type="xs:explicitGroup" id="choice"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-choice"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEChoice extends XsTExplicitGroup, XsTTypeDefParticle, XsTNestedParticle {
+
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEComplexContent.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEComplexContent.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEComplexContent.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEComplexContent.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,57 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of the element <code>xs:complexContent</code>,
+ * as specified by:
+ * <pre>
+ *  &lt;xs:element name="complexContent" id="complexContent"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *          source="http://www.w3.org/TR/xmlschema-1/#element-complexContent"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:extension base="xs:annotated"&gt;
+ *          &lt;xs:choice&gt;
+ *            &lt;xs:element name="restriction" type="xs:complexRestrictionType"/&gt;
+ *            &lt;xs:element name="extension" type="xs:extensionType"/&gt;
+ *          &lt;/xs:choice&gt;
+ *          &lt;xs:attribute name="mixed" type="xs:boolean"&gt;
+ *            &lt;xs:annotation&gt;
+ *              &lt;xs:documentation&gt;
+ *                Overrides any setting on complexType parent.
+ *              &lt;/xs:documentation&gt;
+ *            &lt;/xs:annotation&gt;
+ *          &lt;/xs:attribute&gt;
+ *        &lt;/xs:extension&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEComplexContent extends XsTAnnotated {
+  public void setMixed(boolean pMixed);
+  public Boolean isMixed();
+
+  public XsTComplexRestrictionType createRestriction();
+  public XsTComplexRestrictionType getRestriction();
+
+  public XsTExtensionType createExtension();
+  public XsTExtensionType getExtension();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEDocumentation.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEDocumentation.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEDocumentation.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEDocumentation.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,79 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+
+/** <p>Interface of <code>xs:documentation</code>, as specified
+ * by the following:
+ * <pre>
+ *  &lt;xs:element name="documentation" id="documentation"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-documentation"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType mixed="true"&gt;
+ *      &lt;xs:sequence minOccurs="0" maxOccurs="unbounded"&gt;
+ *        &lt;xs:any processContents="lax"/&gt;
+ *      &lt;/xs:sequence&gt;
+ *      &lt;xs:attribute name="source" type="xs:anyURI"/&gt;
+ *      &lt;xs:attribute ref="xml:lang"/&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEDocumentation extends XsObject {
+	/** <p>Sets the documentation elements language. Defaults to
+     * null.</p>
+	 * @param pLang The language abbreviation, for example "en".
+	 */
+    public void setLang(XmlLang pLang);
+
+    /** <p>Returns the documentation elements language. Defaults to
+     * null.</p>
+     * @return The language abbreviation, for example "en".
+     */
+    public XmlLang getLang();
+
+    /** <p>Sets the URI to read for the documentations contents.
+     * Defaults to null.</p>
+     * @param pSource Source URI
+     */
+    public void setSource(XsAnyURI pSource);
+
+    /** <p>Returns the URI to read for the documentations contents.
+     * Defaults to null.</p>
+     * @return Source URI
+     */
+	public XsAnyURI getSource();
+	
+	/** <p>Returns the embedded text. The embedded text is specified as the
+	 * concatenation of all text nodes. Child elements, if any, are ignored.</p>
+	 */
+	public String getText();
+	
+	/** <p>Returns whether the documentation is simple. In other words, whether
+	 * it consists of text only. If not, you should use {@link #getChilds()}
+	 * rather than {@link #getText()}.</p>
+	 */
+	public boolean isTextOnly();
+	
+	/** <p>Returns the array of all child objects. Child objects may either
+	 * be Strings or DOM nodes.</p>
+	 */
+	public Object[] getChilds();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEEnumeration.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEEnumeration.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEEnumeration.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEEnumeration.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of an <code>xs:enumeration</code> element,
+ * following this specification:
+ * <pre>
+ *  &lt;xs:element name="enumeration" id="enumeration" type="xs:noFixedFacet"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-enumeration"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEEnumeration extends XsTFacetBase {
+  public void setValue(String pValue);
+  public String getValue();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEField.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEField.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEField.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEField.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of the <code>xs:field</code> element, with the
+ * following specification:
+ * <pre>
+ *   <xs:element name="field" id="field">
+ *     <xs:annotation>
+ *       <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-field"/>
+ *     </xs:annotation>
+ *     <xs:complexType>
+ *       <xs:complexContent>
+ *         <xs:extension base="xs:annotated">
+ *           <xs:attribute name="xpath" use="required">
+ *             <xs:simpleType>
+ *               <xs:annotation>
+ *                 <xs:documentation>
+ *                   A subset of XPath expressions for use in fields
+ *                 </xs:documentation>
+ *                 <xs:documentation>
+ *                   A utility type, not for public use
+ *                 </xs:documentation>
+ *               </xs:annotation>
+ *               <xs:restriction base="xs:token">
+ *                 <xs:annotation>
+ *                   <xs:documentation>
+ *                     The following pattern is intended to allow XPath
+ *                     expressions per the same EBNF as for selector,
+ *                     with the following change:
+ *                       Path    ::=    ('.//')? ( Step '/' )* ( Step | '@' NameTest ) 
+ *                   </xs:documentation>
+ *                 </xs:annotation>
+ *                 <xs:pattern value="(\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*))))(\|(\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*)))))*">
+ *                 </xs:pattern>
+ *               </xs:restriction>
+ *             </xs:simpleType>
+ *           </xs:attribute>
+ *         </xs:extension>
+ *       </xs:complexContent>
+ *     </xs:complexType>
+ *   </xs:element>
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEField extends XsTAnnotated {
+  public void setXpath(XsToken pXpath);
+  public XsToken getXpath();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEFractionDigits.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEFractionDigits.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEFractionDigits.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEFractionDigits.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of <code>xs:fractionDigits</code>,
+ * following this specification:
+ * <pre>
+ *  &lt;xs:element name="fractionDigits" id="fractionDigits" type="xs:numFacet"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-fractionDigits"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEFractionDigits extends XsTNumFacet {
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEImport.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEImport.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEImport.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEImport.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,48 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+
+/** <p>Interface of <code>xs:import</code>, as specified by
+ * the following:
+ * <pre>
+ *  &lt;xs:element name="import" id="import"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:extension base="xs:annotated"&gt;
+ *          &lt;xs:attribute name="namespace" type="xs:anyURI"/&gt;
+ *          &lt;xs:attribute name="schemaLocation" type="xs:anyURI"/&gt;
+ *        &lt;/xs:extension&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEImport extends XsTAnnotated {
+  public void setNamespace(XsAnyURI pNamespace);
+
+  public XsAnyURI getNamespace();
+
+  public void setSchemaLocation(XsAnyURI pSchemaLocation);
+
+  public XsAnyURI getSchemaLocation();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEInclude.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEInclude.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEInclude.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEInclude.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+
+/** <p>Interface of <code>xs:include</code>, as specified
+ * by the following declaration:
+ * <pre>
+ *  &lt;xs:element name="include" id="include"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-include"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:extension base="xs:annotated"&gt;
+ *          &lt;xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/&gt;
+ *        &lt;/xs:extension&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ * 
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEInclude extends XsTAnnotated {
+  public void setSchemaLocation(XsAnyURI pSchemaLocation);
+  public XsAnyURI getSchemaLocation();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEKey.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEKey.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEKey.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEKey.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+
+/** <p>Interface of the <code>xs:key</code> element, specified
+ * as follows:
+ * <pre>
+ *  &lt;xs:element name="key" type="xs:keybase" id="key"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-key"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEKey extends XsTKeybase, XsTIdentityConstraint {
+
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEKeyref.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEKeyref.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEKeyref.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEKeyref.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of the <code>xs:keyref</code> element, with the
+ * following specification:
+ * <pre>
+ *  <xs:element name="keyref" id="keyref">
+ *    <xs:annotation>
+ *      <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-keyref"/>
+ *    </xs:annotation>
+ *    <xs:complexType>
+ *      <xs:complexContent>
+ *        <xs:extension base="xs:keybase">
+ *          <xs:attribute name="refer" type="xs:QName" use="required"/>
+ *        </xs:extension>
+ *      </xs:complexContent>
+ *    </xs:complexType>
+ *  </xs:element>
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEKeyref extends XsTKeybase, XsTIdentityConstraint {
+  public void setRefer(XsQName pRefer);
+  public XsQName getRefer();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsELength.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsELength.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsELength.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsELength.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of <code>xs:length</code>, following
+ * this specification:
+ * <pre>
+ *  &lt;xs:element name="length" id="length" type="xs:numFacet"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-length"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsELength extends XsTNumFacet {
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEList.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEList.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEList.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEList.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+
+/** <p>Implementation of <code>xs:list</code>, following
+ * the specification below:
+ * <pre>
+ *  &lt;xs:element name="list" id="list"&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:annotation&gt;
+ *        &lt;xs:documentation
+ *            source="http://www.w3.org/TR/xmlschema-2/#element-list"&gt;
+ *          itemType attribute and simpleType child are mutually
+ *          exclusive, but one or other is required
+ *        &lt;/xs:documentation&gt;
+ *      &lt;/xs:annotation&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:extension base="xs:annotated"&gt;
+ *          &lt;xs:sequence&gt;
+ *            &lt;xs:element name="simpleType" type="xs:localSimpleType"
+ *                minOccurs="0"/&gt;
+ *          &lt;/xs:sequence&gt;
+ *          &lt;xs:attribute name="itemType" type="xs:QName" use="optional"/&gt;
+ *        &lt;/xs:extension&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEList extends XsTAnnotated {
+  public void setItemType(XsQName pName);
+
+  public XsQName getItemType();
+
+  public XsTLocalSimpleType createSimpleType();
+
+  public XsTLocalSimpleType getSimpleType();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxExclusive.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxExclusive.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxExclusive.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxExclusive.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of <code>xs:maxExclusive</code>,
+ * following this specification:
+ * <pre>
+ *  &lt;xs:element name="maxExclusive" id="maxExclusive" type="xs:facet"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-maxExclusive"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEMaxExclusive extends XsTFacet {
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxInclusive.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxInclusive.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxInclusive.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxInclusive.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of <code>xs:maxInclusive</code>,
+ * following this specification:
+ * <pre>
+ *  &lt;xs:element name="maxInclusive" id="maxInclusive" type="xs:facet"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-maxInclusive"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEMaxInclusive extends XsTFacet {
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxLength.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxLength.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxLength.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMaxLength.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Iinterface of <code>xs:maxLength</code>,
+ * following this specification:
+ * <pre>
+ *  <xs:element name="maxLength" id="maxLength" type="xs:numFacet">
+ *    <xs:annotation>
+ *      <xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-maxLength"/>
+ *    </xs:annotation>
+ *  </xs:element>
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEMaxLength extends XsTNumFacet {
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinExclusive.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinExclusive.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinExclusive.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinExclusive.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of <code>xs:minExclusive</code>,
+ * following this specification:
+ * <pre>
+ *  &lt;xs:element name="minExclusive" id="minExclusive" type="xs:facet"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-minExclusive"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEMinExclusive extends XsTFacet {
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinInclusive.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinInclusive.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinInclusive.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinInclusive.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of <code>xs:minInclusive</code>,
+ * following this specification:
+ * <pre>
+ *  <xs:element name="minInclusive" id="minInclusive" type="xs:facet">
+ *    <xs:annotation>
+ *      <xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-minInclusive"/>
+ *    </xs:annotation>
+ *  </xs:element>
+ * </pre></p>
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEMinInclusive extends XsTFacet {
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinLength.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinLength.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinLength.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEMinLength.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of <code>xs:minLength</code>, following
+ * this specification:
+ * <pre>
+ *  &lt;xs:element name="minLength" id="minLength" type="xs:numFacet"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-minLength"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEMinLength extends XsTNumFacet {
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsENotation.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsENotation.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsENotation.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsENotation.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of the <code>xs:notation</code> element, with
+ * the following specification:
+ * <pre>
+ *  <xs:element name="notation" id="notation">
+ *    <xs:annotation>
+ *      <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-notation"/>
+ *    </xs:annotation>
+ *    <xs:complexType>
+ *      <xs:complexContent>
+ *        <xs:extension base="xs:annotated">
+ *          <xs:attribute name="name" type="xs:NCName" use="required"/>
+ *          <xs:attribute name="public" type="xs:public" use="required"/>
+ *          <xs:attribute name="system" type="xs:anyURI"/>
+ *        </xs:extension>
+ *      </xs:complexContent>
+ *    </xs:complexType>
+ *  </xs:element>
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsENotation extends XsTAnnotated {
+  public void setName(XsNCName pName);
+  public XsNCName getName();
+
+  public void setPublic(XsToken pPublic);
+  public XsToken getPublic();
+
+  public void setSystem(XsAnyURI pSystem);
+  public XsAnyURI getSystem();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEPattern.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEPattern.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEPattern.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEPattern.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of <code>xs:pattern</code>, following
+ * this specification:
+ * <pre>
+ *  &lt;xs:element name="pattern" id="pattern" type="xs:noFixedFacet"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-pattern"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEPattern extends XsTFacetBase {
+  public void setValue(String pValue);
+  public String getValue();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsERedefine.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsERedefine.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsERedefine.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsERedefine.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,66 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+
+/** <p>Implementation of <code>xs:redefine</code>, as specified
+ * by the following:
+ * <pre>
+ *  &lt;xs:element name="redefine" id="redefine"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-redefine"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:extension base="xs:openAttrs"&gt;
+ *          &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+ *            &lt;xs:element ref="xs:annotation"/&gt;
+ *            &lt;xs:group ref="xs:redefinable"/&gt;
+ *          &lt;/xs:choice&gt;
+ *          &lt;xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/&gt;
+ *          &lt;xs:attribute name="id" type="xs:ID"/&gt;
+ *        &lt;/xs:extension&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsERedefine extends XsTOpenAttrs {
+  public void setId(XsID pID);
+  public XsID getId();
+
+  public void setSchemaLocation(XsAnyURI pSchemaLocation);
+  public XsAnyURI getSchemaLocation();
+
+  public XsEAnnotation createAnnotation();
+
+  public XsETopLevelSimpleType createSimpleType();
+
+  public XsTComplexType createComplexType();
+
+  public XsTGroup createGroup();
+
+  public XsTAttributeGroup createAttributeGroup();
+
+  /** <p>Returns the child elemens. Any element in the object array is an instance of
+   * {@link XsETopLevelSimpleType}, {@link XsTComplexType}, {@link XsTGroup}, or
+   * {@link XsTAttributeGroup}.</p>
+   */
+  public Object[] getChilds();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsERestriction.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsERestriction.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsERestriction.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsERestriction.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,85 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+import org.xml.sax.SAXException;
+
+
+/** <p>Implementation of <code>xs:restriction</code>, following
+ * this specification:
+ * <pre>
+ *  &lt;xs:element name="restriction" id="restriction"&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:annotation&gt;
+ *        &lt;xs:documentation
+ *            source="http://www.w3.org/TR/xmlschema-2/#element-restriction"&gt;
+ *          base attribute and simpleType child are mutually
+ *          exclusive, but one or other is required
+ *        &lt;/xs:documentation&gt;
+ *      &lt;/xs:annotation&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:extension base="xs:annotated"&gt;
+ *          &lt;xs:group ref="xs:simpleRestrictionModel"/&gt;
+ *          &lt;xs:attribute name="base" type="xs:QName" use="optional"/&gt;
+ *        &lt;/xs:extension&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ *
+ *  &lt;xs:group name="simpleRestrictionModel"&gt;
+ *    &lt;xs:sequence&gt;
+ *      &lt;xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/&gt;
+ *      &lt;xs:group ref="xs:facets" minOccurs="0" maxOccurs="unbounded"/&gt;
+ *    &lt;/xs:sequence&gt;
+ *  &lt;/xs:group&gt;
+ *
+ *  &lt;xs:group name="facets"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation&gt;
+ *        We should use a substitution group for facets, but
+ *        that's ruled out because it would allow users to
+ *        add their own, which we're not ready for yet.
+ *      &lt;/xs:documentation&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:choice&gt;
+ *      &lt;xs:element ref="xs:minExclusive"/&gt;
+ *      &lt;xs:element ref="xs:minInclusive"/&gt;
+ *      &lt;xs:element ref="xs:maxExclusive"/&gt;
+ *      &lt;xs:element ref="xs:maxInclusive"/&gt;
+ *      &lt;xs:element ref="xs:totalDigits"/&gt;
+ *      &lt;xs:element ref="xs:fractionDigits"/&gt;
+ *      &lt;xs:element ref="xs:length"/&gt;
+ *      &lt;xs:element ref="xs:minLength"/&gt;
+ *      &lt;xs:element ref="xs:maxLength"/&gt;
+ *      &lt;xs:element ref="xs:enumeration"/&gt;
+ *      &lt;xs:element ref="xs:whiteSpace"/&gt;
+ *      &lt;xs:element ref="xs:pattern"/&gt;
+ *    &lt;/xs:choice&gt;
+ *  &lt;/xs:group&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsERestriction extends XsTAnnotated, XsGSimpleRestrictionModel {
+  public void setBase(XsQName pBase);
+
+  public XsQName getBase();
+
+  public XsTLocalSimpleType createSimpleType() throws SAXException;
+
+  public XsTLocalSimpleType getSimpleType();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESchema.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESchema.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESchema.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESchema.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,153 @@
+/*
+ * Copyright 2003,2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+import org.apache.ws.jaxme.xs.parser.XSContext;
+
+
+/** <p>Implementation of xs:schema. Follows this specification:
+ * <pre>
+ *  &lt;xs:element name="schema" id="schema"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-schema"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:extension base="xs:openAttrs"&gt;
+ *          &lt;xs:sequence&gt;
+ *            &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+ *              &lt;xs:element ref="xs:include"/&gt;
+ *              &lt;xs:element ref="xs:import"/&gt;
+ *              &lt;xs:element ref="xs:redefine"/&gt;
+ *              &lt;xs:element ref="xs:annotation"/&gt;
+ *            &lt;/xs:choice&gt;
+ *            &lt;xs:sequence minOccurs="0" maxOccurs="unbounded"&gt;
+ *              &lt;xs:group ref="xs:schemaTop"/&gt;
+ *              &lt;xs:element ref="xs:annotation" minOccurs="0" maxOccurs="unbounded"/&gt;
+ *            &lt;/xs:sequence&gt;
+ *          &lt;/xs:sequence&gt;
+ *          &lt;xs:attribute name="targetNamespace" type="xs:anyURI"/&gt;
+ *          &lt;xs:attribute name="version" type="xs:token"/&gt;
+ *          &lt;xs:attribute name="finalDefault" type="xs:derivationSet" use="optional" default=""/&gt;
+ *          &lt;xs:attribute name="blockDefault" type="xs:blockSet" use="optional" default=""/&gt;
+ *          &lt;xs:attribute name="attributeFormDefault" type="xs:formChoice" use="optional" default="unqualified"/&gt;
+ *          &lt;xs:attribute name="elementFormDefault" type="xs:formChoice" use="optional" default="unqualified"/&gt;
+ *          &lt;xs:attribute name="id" type="xs:ID"/&gt;
+ *          &lt;xs:attribute ref="xml:lang"/&gt;
+ *        &lt;/xs:extension&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *
+ *    &lt;xs:key name="element"&gt;
+ *      &lt;xs:selector xpath="xs:element"/&gt;
+ *      &lt;xs:field xpath="@name"/&gt;
+ *    &lt;/xs:key&gt;
+ *    &lt;xs:key name="attribute"&gt;
+ *      &lt;xs:selector xpath="xs:attribute"/&gt;
+ *      &lt;xs:field xpath="@name"/&gt;
+ *    &lt;/xs:key&gt;
+ *    &lt;xs:key name="type"&gt;
+ *      &lt;xs:selector xpath="xs:complexType|xs:simpleType"/&gt;
+ *      &lt;xs:field xpath="@name"/&gt;
+ *    &lt;/xs:key&gt;
+ *    &lt;xs:key name="group"&gt;
+ *      &lt;xs:selector xpath="xs:group"/&gt;
+ *      &lt;xs:field xpath="@name"/&gt;
+ *    &lt;/xs:key&gt;
+ *    &lt;xs:key name="attributeGroup"&gt;
+ *      &lt;xs:selector xpath="xs:attributeGroup"/&gt;
+ *      &lt;xs:field xpath="@name"/&gt;
+ *    &lt;/xs:key&gt;
+ *    &lt;xs:key name="notation"&gt;
+ *      &lt;xs:selector xpath="xs:notation"/&gt;
+ *      &lt;xs:field xpath="@name"/&gt;
+ *    &lt;/xs:key&gt;
+ *    &lt;xs:key name="identityConstraint"&gt;
+ *      &lt;xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref"/&gt;
+ *      &lt;xs:field xpath="@name"/&gt;
+ *    &lt;/xs:key&gt;
+ *  &lt;/xs:element&gt;
+ *
+ *  &lt;xs:group name="schemaTop"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation&gt;
+ *        This group is for the
+ *        elements which occur freely at the top level of schemas.
+ *        All of their types are based on the "annotated" type by extension.
+ *      &lt;/xs:documentation&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:choice&gt;
+ *      &lt;xs:group ref="xs:redefinable"/&gt;
+ *      &lt;xs:element ref="xs:element"/&gt;
+ *      &lt;xs:element ref="xs:attribute"/&gt;
+ *      &lt;xs:element ref="xs:notation"/&gt;
+ *    &lt;/xs:choice&gt;
+ *  &lt;/xs:group&gt;
+ * </pre>
+ * </p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsESchema extends XsTOpenAttrs, XsSchemaHeader {
+  public XsEInclude createInclude();
+
+  public XsEImport createImport();
+
+  public XsERedefine createRedefine();
+
+  public XsEAnnotation createAnnotation();
+
+  public XsETopLevelSimpleType createSimpleType();
+
+  public XsTComplexType createComplexType();
+
+  public XsTNamedGroup createGroup();
+
+  public XsTAttributeGroup createAttributeGroup();
+
+  public XsTTopLevelElement createElement();
+
+  public XsTAttribute createAttribute();
+
+  public XsENotation createNotation();
+
+  /** <p>Returns the schema's childs. These are instances of
+   * {@link XsEInclude}, {@link XsEImport}, {@link XsERedefine},
+   * {@link XsEAnnotation}, {@link XsETopLevelSimpleType},
+   * {@link XsTComplexType}, {@link XsTGroup},
+   * {@link XsTAttributeGroup}, {@link XsTTopLevelElement}, or
+   * {@link XsENotation}, in the order of the document. This
+   * order is the same order than by invocation of the
+   * corresponding {@link #createInclude()}, {@link #createImport()},
+   * ... method calls.</p>
+   * <p>Be aware, that a subclass of XsESchema may very well include
+   * other objects.</p>
+   */
+  public Object[] getChilds();
+
+  public void setTargetNamespace(XsAnyURI pAnyURI);
+  public void setVersion(XsToken pToken);
+  public void setId(XsID pId);
+  public void setFinalDefault(XsDerivationSet pSet);
+  public void setElementFormDefault(XsFormChoice pChoice);
+  public void setBlockDefault(XsBlockSet pSet);
+  public void setAttributeFormDefault(XsFormChoice pChoice);
+  
+  /** <p>Returns the schema context.</p>
+   */
+  public XSContext getContext();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESelector.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESelector.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESelector.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESelector.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,68 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of the <code>xs:selector</code> element, specified
+ * by the following:
+ * <pre>
+ *   <xs:element name="selector" id="selector">
+ *     <xs:annotation>
+ *       <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-selector"/>
+ *     </xs:annotation>
+ *     <xs:complexType>
+ *       <xs:complexContent>
+ *         <xs:extension base="xs:annotated">
+ *           <xs:attribute name="xpath" use="required">
+ *             <xs:simpleType>
+ *               <xs:annotation>
+ *                 <xs:documentation>
+ *                   A subset of XPath expressions for use
+ *                   in selectors
+ *                 </xs:documentation>
+ *                 <xs:documentation>
+ *                   A utility type, not for public use
+ *                 </xs:documentation>
+ *               </xs:annotation>
+ *               <xs:restriction base="xs:token">
+ *                 <xs:annotation>
+ *                   <xs:documentation>
+ *                     The following pattern is intended to allow XPath
+ *                     expressions per the following EBNF:
+ *                       Selector    ::=    Path ( '|' Path )*
+ *                       Path        ::=    ('.//')? Step ( '/' Step )*
+ *                       Step    ::=    '.' | NameTest
+ *                       NameTest    ::=    QName | '*' | NCName ':' '*'
+ *                                          child:: is also allowed
+ *                   </xs:documentation>
+ *                 </xs:annotation>
+ *                 <xs:pattern value="(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)*">
+ *                 </xs:pattern>
+ *               </xs:restriction>
+ *             </xs:simpleType>
+ *           </xs:attribute>
+ *         </xs:extension>
+ *       </xs:complexContent>
+ *     </xs:complexType>
+ *   </xs:element>
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsESelector extends XsTAnnotated {
+  public void setXpath(XsToken pXpath);
+  public XsToken getXpath();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESequence.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESequence.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESequence.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESequence.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of the <code>xs:sequence</code> element, with the following
+ * specification:
+ * <pre>
+ *  &lt;xs:element name="sequence" type="xs:explicitGroup" id="sequence"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-sequence"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsESequence extends XsTExplicitGroup, XsTTypeDefParticle, XsTNestedParticle {
+
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESimpleContent.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESimpleContent.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESimpleContent.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsESimpleContent.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,50 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+
+/** <p>Implementation of <code>xs:simpleContent</code>,
+ * as specified by the following:
+ * <pre>
+ *  &lt;xs:element name="simpleContent" id="simpleContent"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:extension base="xs:annotated"&gt;
+ *          &lt;xs:choice&gt;
+ *            &lt;xs:element name="restriction" type="xs:simpleRestrictionType"/&gt;
+ *            &lt;xs:element name="extension" type="xs:simpleExtensionType"/&gt;
+ *          &lt;/xs:choice&gt;
+ *        &lt;/xs:extension&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsESimpleContent extends XsTAnnotated {
+  public XsTSimpleRestrictionType createRestriction();
+
+  public XsTSimpleRestrictionType getRestriction();
+
+  public XsTSimpleExtensionType createExtension();
+
+  public XsTSimpleExtensionType getExtension();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsETopLevelSimpleType.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsETopLevelSimpleType.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsETopLevelSimpleType.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsETopLevelSimpleType.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of <code>xs:simpleType>, as specified by the following:
+ * <pre>
+ *  &lt;xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ *
+ *  &lt;xs:complexType name="topLevelSimpleType"&gt;
+ *    &lt;xs:complexContent&gt;
+ *      &lt;xs:restriction base="xs:simpleType"&gt;
+ *        &lt;xs:sequence&gt;
+ *          &lt;xs:element ref="xs:annotation" minOccurs="0"/&gt;
+ *          &lt;xs:group ref="xs:simpleDerivation"/&gt;
+ *        &lt;/xs:sequence&gt;
+ *        &lt;xs:attribute name="name" use="required" type="xs:NCName"&gt;
+ *          &lt;xs:annotation&gt;
+ *            &lt;xs:documentation&gt;
+ *              Required at the top level
+ *            &lt;/xs:documentation&gt;
+ *          &lt;/xs:annotation&gt;
+ *        &lt;/xs:attribute&gt;
+ *      &lt;/xs:restriction&gt;
+ *    &lt;/xs:complexContent&gt;
+ *  &lt;/xs:complexType&gt;
+ * </pre></p>
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsETopLevelSimpleType extends XsTSimpleType, XsRedefinable {
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsETotalDigits.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsETotalDigits.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsETotalDigits.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsETotalDigits.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of <code>xs:totalDigits</code>,
+ * following this specification:
+ * <pre>
+ *  &lt;xs:element name="totalDigits" id="totalDigits"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-totalDigits"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:restriction base="xs:numFacet"&gt;
+ *          &lt;xs:sequence&gt;
+ *            &lt;xs:element ref="xs:annotation" minOccurs="0"/&gt;
+ *          &lt;/xs:sequence&gt;
+ *          &lt;xs:attribute name="value" type="xs:positiveInteger" use="required"/&gt;
+ *        &lt;/xs:restriction&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsETotalDigits extends XsTNumFacet {
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEUnion.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEUnion.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEUnion.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEUnion.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,73 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+
+/** <p>Interface of <code>xs:union</code>, following the
+ * specification below:
+ * <pre>
+ *  &lt;xs:element name="union" id="union"&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:annotation&gt;
+ *        &lt;xs:documentation
+ *            source="http://www.w3.org/TR/xmlschema-2/#element-union"&gt;
+ *          memberTypes attribute must be non-empty or there must be
+ *          at least one simpleType child
+ *        &lt;/xs:documentation&gt;
+ *      &lt;/xs:annotation&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:extension base="xs:annotated"&gt;
+ *          &lt;xs:sequence&gt;
+ *            &lt;xs:element name="simpleType" type="xs:localSimpleType"
+ *                minOccurs="0" maxOccurs="unbounded"/&gt;
+ *          &lt;/xs:sequence&gt;
+ *          &lt;xs:attribute name="memberTypes" use="optional"&gt;
+ *            &lt;xs:simpleType&gt;
+ *              &lt;xs:list itemType="xs:QName"/&gt;
+ *            &lt;/xs:simpleType&gt;
+ *          &lt;/xs:attribute&gt;
+ *        &lt;/xs:extension&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEUnion extends XsTAnnotated {
+  /** <p>Creates a new, local simple type as a member type of the union.</p>
+   */
+  public XsTLocalSimpleType createSimpleType();
+
+  /** <p>Returns an array of member types which have been
+   * created using {@link #createSimpleType()}.</p>
+   */
+  public XsTLocalSimpleType[] getSimpleTypes();
+
+  /** <p>Sets the qualified names of simple types being used as member
+   * types of the union.</p>
+   */
+  public void setMemberTypes(XsQName[] pTypes);
+
+  /** <p>Returns an array of member types which have been added
+   * using {@link #setMemberTypes(XsQName[])}. This array may be null,
+   * if the method {@link #setMemberTypes(XsQName[])} wasn't invoked
+   * at all, or it may be the empty array, if an empty string was
+   * passed as argument to the method.</p>
+   */
+  public XsQName[] getMemberTypes();
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEUnique.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEUnique.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEUnique.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEUnique.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+/** <p>Interface of the <code>xs:unique</code> element, with the
+ * following specification:
+ * <pre>
+ *  &lt;xs:element name="unique" type="xs:keybase" id="unique"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-unique"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEUnique extends XsTKeybase, XsTIdentityConstraint {
+
+}

Added: webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEWhiteSpace.java
URL: http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEWhiteSpace.java?view=auto&rev=478855
==============================================================================
--- webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEWhiteSpace.java (added)
+++ webservices/jaxme/branches/MAVEN/jaxme-xs/src/main/java/org/apache/ws/jaxme/xs/xml/XsEWhiteSpace.java Fri Nov 24 04:14:48 2006
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2003, 2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+
+ */
+package org.apache.ws.jaxme.xs.xml;
+
+
+/** <p>Interface of <code>xs:whiteSpace</code>, following
+ * this specification:
+ * <pre>
+ *  &lt;xs:element name="whiteSpace" id="whiteSpace"&gt;
+ *    &lt;xs:annotation&gt;
+ *      &lt;xs:documentation
+ *        source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"/&gt;
+ *    &lt;/xs:annotation&gt;
+ *    &lt;xs:complexType&gt;
+ *      &lt;xs:complexContent&gt;
+ *        &lt;xs:restriction base="xs:facet"&gt;
+ *          &lt;xs:sequence&gt;
+ *            &lt;xs:element ref="xs:annotation" minOccurs="0"/&gt;
+ *          &lt;/xs:sequence&gt;
+ *          &lt;xs:attribute name="value" use="required"&gt;
+ *            &lt;xs:simpleType&gt;
+ *              &lt;xs:restriction base="xs:NMTOKEN"&gt;
+ *                &lt;xs:enumeration value="preserve"/&gt;
+ *                &lt;xs:enumeration value="replace"/&gt;
+ *                &lt;xs:enumeration value="collapse"/&gt;
+ *              &lt;/xs:restriction&gt;
+ *            &lt;/xs:simpleType&gt;
+ *          &lt;/xs:attribute&gt;
+ *        &lt;/xs:restriction&gt;
+ *      &lt;/xs:complexContent&gt;
+ *    &lt;/xs:complexType&gt;
+ *  &lt;/xs:element&gt;
+ * </pre></p>
+ *
+ * @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
+ */
+public interface XsEWhiteSpace extends XsTFacet {
+  public boolean isPreserving();
+  public boolean isReplacing();
+  public boolean isCollapsing();
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org