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>
+ * <xs:simpleType name="derivationSet">
+ * <xs:annotation>
+ * <xs:documentation>
+ * A utility type, not for public use
+ * </xs:documentation>
+ * <xs:documentation>
+ * #all or (possibly empty) subset of {extension, restriction}
+ * </xs:documentation>
+ * </xs:annotation>
+ * <xs:union>
+ * <xs:simpleType>
+ * <xs:restriction base="xs:token">
+ * <xs:enumeration value="#all"/>
+ * </xs:restriction>
+ * </xs:simpleType>
+ * <xs:simpleType>
+ * <xs:list itemType="xs:reducedDerivationControl"/>
+ * </xs:simpleType>
+ * </xs:union>
+ * </xs:simpleType>
+ * </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>
+ * <xs:element name="annotation" id="annotation">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-annotation"/>
+ * </xs:annotation>
+ * <xs:complexType>
+ * <xs:complexContent>
+ * <xs:extension base="xs:openAttrs">
+ * <xs:choice minOccurs="0" maxOccurs="unbounded">
+ * <xs:element ref="xs:appinfo"/>
+ * <xs:element ref="xs:documentation"/>
+ * </xs:choice>
+ * <xs:attribute name="id" type="xs:ID"/>
+ * </xs:extension>
+ * </xs:complexContent>
+ * </xs:complexType>
+ * </xs:element>
+ * </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>
+ * <xs:element name="any" id="any">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-any"/>
+ * </xs:annotation>
+ * <xs:complexType>
+ * <xs:complexContent>
+ * <xs:extension base="xs:wildcard">
+ * <xs:attributeGroup ref="xs:occurs"/>
+ * </xs:extension>
+ * </xs:complexContent>
+ * </xs:complexType>
+ * </xs:element>
+ * </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>
+ * <xs:element name="appinfo" id="appinfo">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-appinfo"/>
+ * </xs:annotation>
+ * <xs:complexType mixed="true">
+ * <xs:sequence minOccurs="0" maxOccurs="unbounded">
+ * <xs:any processContents="lax"/>
+ * </xs:sequence>
+ * <xs:attribute name="source" type="xs:anyURI"/>
+ * </xs:complexType>
+ * </xs:element>
+ * </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>
+ * <xs:element name="choice" type="xs:explicitGroup" id="choice">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-choice"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="complexContent" id="complexContent">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-1/#element-complexContent"/>
+ * </xs:annotation>
+ * <xs:complexType>
+ * <xs:complexContent>
+ * <xs:extension base="xs:annotated">
+ * <xs:choice>
+ * <xs:element name="restriction" type="xs:complexRestrictionType"/>
+ * <xs:element name="extension" type="xs:extensionType"/>
+ * </xs:choice>
+ * <xs:attribute name="mixed" type="xs:boolean">
+ * <xs:annotation>
+ * <xs:documentation>
+ * Overrides any setting on complexType parent.
+ * </xs:documentation>
+ * </xs:annotation>
+ * </xs:attribute>
+ * </xs:extension>
+ * </xs:complexContent>
+ * </xs:complexType>
+ * </xs:element>
+ * </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>
+ * <xs:element name="documentation" id="documentation">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-documentation"/>
+ * </xs:annotation>
+ * <xs:complexType mixed="true">
+ * <xs:sequence minOccurs="0" maxOccurs="unbounded">
+ * <xs:any processContents="lax"/>
+ * </xs:sequence>
+ * <xs:attribute name="source" type="xs:anyURI"/>
+ * <xs:attribute ref="xml:lang"/>
+ * </xs:complexType>
+ * </xs:element>
+ * </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>
+ * <xs:element name="enumeration" id="enumeration" type="xs:noFixedFacet">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-enumeration"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="fractionDigits" id="fractionDigits" type="xs:numFacet">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-fractionDigits"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="import" id="import">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"/>
+ * </xs:annotation>
+ * <xs:complexType>
+ * <xs:complexContent>
+ * <xs:extension base="xs:annotated">
+ * <xs:attribute name="namespace" type="xs:anyURI"/>
+ * <xs:attribute name="schemaLocation" 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 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>
+ * <xs:element name="include" id="include">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-include"/>
+ * </xs:annotation>
+ * <xs:complexType>
+ * <xs:complexContent>
+ * <xs:extension base="xs:annotated">
+ * <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
+ * </xs:extension>
+ * </xs:complexContent>
+ * </xs:complexType>
+ * </xs:element>
+ * </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>
+ * <xs:element name="key" type="xs:keybase" id="key">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-key"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="length" id="length" type="xs:numFacet">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-length"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="list" id="list">
+ * <xs:complexType>
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-list">
+ * itemType attribute and simpleType child are mutually
+ * exclusive, but one or other is required
+ * </xs:documentation>
+ * </xs:annotation>
+ * <xs:complexContent>
+ * <xs:extension base="xs:annotated">
+ * <xs:sequence>
+ * <xs:element name="simpleType" type="xs:localSimpleType"
+ * minOccurs="0"/>
+ * </xs:sequence>
+ * <xs:attribute name="itemType" type="xs:QName" use="optional"/>
+ * </xs:extension>
+ * </xs:complexContent>
+ * </xs:complexType>
+ * </xs:element>
+ * </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>
+ * <xs:element name="maxExclusive" id="maxExclusive" type="xs:facet">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-maxExclusive"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="maxInclusive" id="maxInclusive" type="xs:facet">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-maxInclusive"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="minExclusive" id="minExclusive" type="xs:facet">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-minExclusive"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="minLength" id="minLength" type="xs:numFacet">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-minLength"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="pattern" id="pattern" type="xs:noFixedFacet">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-pattern"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="redefine" id="redefine">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-redefine"/>
+ * </xs:annotation>
+ * <xs:complexType>
+ * <xs:complexContent>
+ * <xs:extension base="xs:openAttrs">
+ * <xs:choice minOccurs="0" maxOccurs="unbounded">
+ * <xs:element ref="xs:annotation"/>
+ * <xs:group ref="xs:redefinable"/>
+ * </xs:choice>
+ * <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
+ * <xs:attribute name="id" type="xs:ID"/>
+ * </xs:extension>
+ * </xs:complexContent>
+ * </xs:complexType>
+ * </xs:element>
+ * </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>
+ * <xs:element name="restriction" id="restriction">
+ * <xs:complexType>
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-restriction">
+ * base attribute and simpleType child are mutually
+ * exclusive, but one or other is required
+ * </xs:documentation>
+ * </xs:annotation>
+ * <xs:complexContent>
+ * <xs:extension base="xs:annotated">
+ * <xs:group ref="xs:simpleRestrictionModel"/>
+ * <xs:attribute name="base" type="xs:QName" use="optional"/>
+ * </xs:extension>
+ * </xs:complexContent>
+ * </xs:complexType>
+ * </xs:element>
+ *
+ * <xs:group name="simpleRestrictionModel">
+ * <xs:sequence>
+ * <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
+ * <xs:group ref="xs:facets" minOccurs="0" maxOccurs="unbounded"/>
+ * </xs:sequence>
+ * </xs:group>
+ *
+ * <xs:group name="facets">
+ * <xs:annotation>
+ * <xs:documentation>
+ * 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.
+ * </xs:documentation>
+ * </xs:annotation>
+ * <xs:choice>
+ * <xs:element ref="xs:minExclusive"/>
+ * <xs:element ref="xs:minInclusive"/>
+ * <xs:element ref="xs:maxExclusive"/>
+ * <xs:element ref="xs:maxInclusive"/>
+ * <xs:element ref="xs:totalDigits"/>
+ * <xs:element ref="xs:fractionDigits"/>
+ * <xs:element ref="xs:length"/>
+ * <xs:element ref="xs:minLength"/>
+ * <xs:element ref="xs:maxLength"/>
+ * <xs:element ref="xs:enumeration"/>
+ * <xs:element ref="xs:whiteSpace"/>
+ * <xs:element ref="xs:pattern"/>
+ * </xs:choice>
+ * </xs:group>
+ * </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>
+ * <xs:element name="schema" id="schema">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-schema"/>
+ * </xs:annotation>
+ * <xs:complexType>
+ * <xs:complexContent>
+ * <xs:extension base="xs:openAttrs">
+ * <xs:sequence>
+ * <xs:choice minOccurs="0" maxOccurs="unbounded">
+ * <xs:element ref="xs:include"/>
+ * <xs:element ref="xs:import"/>
+ * <xs:element ref="xs:redefine"/>
+ * <xs:element ref="xs:annotation"/>
+ * </xs:choice>
+ * <xs:sequence minOccurs="0" maxOccurs="unbounded">
+ * <xs:group ref="xs:schemaTop"/>
+ * <xs:element ref="xs:annotation" minOccurs="0" maxOccurs="unbounded"/>
+ * </xs:sequence>
+ * </xs:sequence>
+ * <xs:attribute name="targetNamespace" type="xs:anyURI"/>
+ * <xs:attribute name="version" type="xs:token"/>
+ * <xs:attribute name="finalDefault" type="xs:derivationSet" use="optional" default=""/>
+ * <xs:attribute name="blockDefault" type="xs:blockSet" use="optional" default=""/>
+ * <xs:attribute name="attributeFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>
+ * <xs:attribute name="elementFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>
+ * <xs:attribute name="id" type="xs:ID"/>
+ * <xs:attribute ref="xml:lang"/>
+ * </xs:extension>
+ * </xs:complexContent>
+ * </xs:complexType>
+ *
+ * <xs:key name="element">
+ * <xs:selector xpath="xs:element"/>
+ * <xs:field xpath="@name"/>
+ * </xs:key>
+ * <xs:key name="attribute">
+ * <xs:selector xpath="xs:attribute"/>
+ * <xs:field xpath="@name"/>
+ * </xs:key>
+ * <xs:key name="type">
+ * <xs:selector xpath="xs:complexType|xs:simpleType"/>
+ * <xs:field xpath="@name"/>
+ * </xs:key>
+ * <xs:key name="group">
+ * <xs:selector xpath="xs:group"/>
+ * <xs:field xpath="@name"/>
+ * </xs:key>
+ * <xs:key name="attributeGroup">
+ * <xs:selector xpath="xs:attributeGroup"/>
+ * <xs:field xpath="@name"/>
+ * </xs:key>
+ * <xs:key name="notation">
+ * <xs:selector xpath="xs:notation"/>
+ * <xs:field xpath="@name"/>
+ * </xs:key>
+ * <xs:key name="identityConstraint">
+ * <xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref"/>
+ * <xs:field xpath="@name"/>
+ * </xs:key>
+ * </xs:element>
+ *
+ * <xs:group name="schemaTop">
+ * <xs:annotation>
+ * <xs:documentation>
+ * 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.
+ * </xs:documentation>
+ * </xs:annotation>
+ * <xs:choice>
+ * <xs:group ref="xs:redefinable"/>
+ * <xs:element ref="xs:element"/>
+ * <xs:element ref="xs:attribute"/>
+ * <xs:element ref="xs:notation"/>
+ * </xs:choice>
+ * </xs:group>
+ * </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>
+ * <xs:element name="sequence" type="xs:explicitGroup" id="sequence">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-sequence"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="simpleContent" id="simpleContent">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"/>
+ * </xs:annotation>
+ * <xs:complexType>
+ * <xs:complexContent>
+ * <xs:extension base="xs:annotated">
+ * <xs:choice>
+ * <xs:element name="restriction" type="xs:simpleRestrictionType"/>
+ * <xs:element name="extension" type="xs:simpleExtensionType"/>
+ * </xs:choice>
+ * </xs:extension>
+ * </xs:complexContent>
+ * </xs:complexType>
+ * </xs:element>
+ * </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>
+ * <xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"/>
+ * </xs:annotation>
+ * </xs:element>
+ *
+ * <xs:complexType name="topLevelSimpleType">
+ * <xs:complexContent>
+ * <xs:restriction base="xs:simpleType">
+ * <xs:sequence>
+ * <xs:element ref="xs:annotation" minOccurs="0"/>
+ * <xs:group ref="xs:simpleDerivation"/>
+ * </xs:sequence>
+ * <xs:attribute name="name" use="required" type="xs:NCName">
+ * <xs:annotation>
+ * <xs:documentation>
+ * Required at the top level
+ * </xs:documentation>
+ * </xs:annotation>
+ * </xs:attribute>
+ * </xs:restriction>
+ * </xs:complexContent>
+ * </xs:complexType>
+ * </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>
+ * <xs:element name="totalDigits" id="totalDigits">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-totalDigits"/>
+ * </xs:annotation>
+ * <xs:complexType>
+ * <xs:complexContent>
+ * <xs:restriction base="xs:numFacet">
+ * <xs:sequence>
+ * <xs:element ref="xs:annotation" minOccurs="0"/>
+ * </xs:sequence>
+ * <xs:attribute name="value" type="xs:positiveInteger" use="required"/>
+ * </xs:restriction>
+ * </xs:complexContent>
+ * </xs:complexType>
+ * </xs:element>
+ * </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>
+ * <xs:element name="union" id="union">
+ * <xs:complexType>
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-union">
+ * memberTypes attribute must be non-empty or there must be
+ * at least one simpleType child
+ * </xs:documentation>
+ * </xs:annotation>
+ * <xs:complexContent>
+ * <xs:extension base="xs:annotated">
+ * <xs:sequence>
+ * <xs:element name="simpleType" type="xs:localSimpleType"
+ * minOccurs="0" maxOccurs="unbounded"/>
+ * </xs:sequence>
+ * <xs:attribute name="memberTypes" use="optional">
+ * <xs:simpleType>
+ * <xs:list itemType="xs:QName"/>
+ * </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 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>
+ * <xs:element name="unique" type="xs:keybase" id="unique">
+ * <xs:annotation>
+ * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-unique"/>
+ * </xs:annotation>
+ * </xs:element>
+ * </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>
+ * <xs:element name="whiteSpace" id="whiteSpace">
+ * <xs:annotation>
+ * <xs:documentation
+ * source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"/>
+ * </xs:annotation>
+ * <xs:complexType>
+ * <xs:complexContent>
+ * <xs:restriction base="xs:facet">
+ * <xs:sequence>
+ * <xs:element ref="xs:annotation" minOccurs="0"/>
+ * </xs:sequence>
+ * <xs:attribute name="value" use="required">
+ * <xs:simpleType>
+ * <xs:restriction base="xs:NMTOKEN">
+ * <xs:enumeration value="preserve"/>
+ * <xs:enumeration value="replace"/>
+ * <xs:enumeration value="collapse"/>
+ * </xs:restriction>
+ * </xs:simpleType>
+ * </xs:attribute>
+ * </xs:restriction>
+ * </xs:complexContent>
+ * </xs:complexType>
+ * </xs:element>
+ * </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