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 2003/12/27 23:10:07 UTC
cvs commit: ws-jaxme/src/xs/org/apache/ws/jaxme/xs XSType.java
jochen 2003/12/27 14:10:07
Modified: src/xs/org/apache/ws/jaxme/xs/types XSIDREFs.java
AbstractAtomicType.java XSNMTokens.java
XSEntities.java XSAnyType.java
src/xs/org/apache/ws/jaxme/xs/impl XSTypeImpl.java
src/xs/org/apache/ws/jaxme/xs XSType.java
Log:
Added XSType.isBuiltin()
Revision Changes Path
1.2 +2 -0 ws-jaxme/src/xs/org/apache/ws/jaxme/xs/types/XSIDREFs.java
Index: XSIDREFs.java
===================================================================
RCS file: /home/cvs/ws-jaxme/src/xs/org/apache/ws/jaxme/xs/types/XSIDREFs.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XSIDREFs.java 23 Sep 2003 12:32:08 -0000 1.1
+++ XSIDREFs.java 27 Dec 2003 22:10:07 -0000 1.2
@@ -72,4 +72,6 @@
public Long getMinLength() { return MIN_LENGTH; }
public static XSType getInstance() { return theInstance; }
+
+ public boolean isBuiltin() { return true; }
}
1.2 +1 -0 ws-jaxme/src/xs/org/apache/ws/jaxme/xs/types/AbstractAtomicType.java
Index: AbstractAtomicType.java
===================================================================
RCS file: /home/cvs/ws-jaxme/src/xs/org/apache/ws/jaxme/xs/types/AbstractAtomicType.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AbstractAtomicType.java 23 Sep 2003 12:32:08 -0000 1.1
+++ AbstractAtomicType.java 27 Dec 2003 22:10:07 -0000 1.2
@@ -70,4 +70,5 @@
public Long getTotalDigits() { return null; }
public boolean isReplacing() { return false; }
public boolean isCollapsing() { return false; }
+ public boolean isBuiltin() { return true; }
}
1.2 +2 -0 ws-jaxme/src/xs/org/apache/ws/jaxme/xs/types/XSNMTokens.java
Index: XSNMTokens.java
===================================================================
RCS file: /home/cvs/ws-jaxme/src/xs/org/apache/ws/jaxme/xs/types/XSNMTokens.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XSNMTokens.java 23 Sep 2003 12:32:08 -0000 1.1
+++ XSNMTokens.java 27 Dec 2003 22:10:07 -0000 1.2
@@ -75,4 +75,6 @@
public static XSType getInstance() { return theInstance; }
public XSListType getListType() { return this; }
+
+ public boolean isBuiltin() { return true; }
}
1.2 +2 -0 ws-jaxme/src/xs/org/apache/ws/jaxme/xs/types/XSEntities.java
Index: XSEntities.java
===================================================================
RCS file: /home/cvs/ws-jaxme/src/xs/org/apache/ws/jaxme/xs/types/XSEntities.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XSEntities.java 23 Sep 2003 12:32:08 -0000 1.1
+++ XSEntities.java 27 Dec 2003 22:10:07 -0000 1.2
@@ -72,4 +72,6 @@
public Long getMinLength() { return MIN_LENGTH; }
public static XSType getInstance() { return theInstance; }
+
+ public boolean isBuiltin() { return true; }
}
1.2 +2 -0 ws-jaxme/src/xs/org/apache/ws/jaxme/xs/types/XSAnyType.java
Index: XSAnyType.java
===================================================================
RCS file: /home/cvs/ws-jaxme/src/xs/org/apache/ws/jaxme/xs/types/XSAnyType.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XSAnyType.java 28 Nov 2003 07:39:17 -0000 1.1
+++ XSAnyType.java 27 Dec 2003 22:10:07 -0000 1.2
@@ -56,4 +56,6 @@
public XSSimpleContentType getSimpleContent() {
throw new IllegalStateException("The builtin type " + getName() + " does not have simple content.");
}
+
+ public boolean isBuiltin() { return true; }
}
1.11 +4 -0 ws-jaxme/src/xs/org/apache/ws/jaxme/xs/impl/XSTypeImpl.java
Index: XSTypeImpl.java
===================================================================
RCS file: /home/cvs/ws-jaxme/src/xs/org/apache/ws/jaxme/xs/impl/XSTypeImpl.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- XSTypeImpl.java 10 Dec 2003 11:41:58 -0000 1.10
+++ XSTypeImpl.java 27 Dec 2003 22:10:07 -0000 1.11
@@ -752,4 +752,8 @@
}
return result;
}
+
+ public boolean isBuiltin() {
+ return false;
+ }
}
1.3 +4 -0 ws-jaxme/src/xs/org/apache/ws/jaxme/xs/XSType.java
Index: XSType.java
===================================================================
RCS file: /home/cvs/ws-jaxme/src/xs/org/apache/ws/jaxme/xs/XSType.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XSType.java 26 Oct 2003 04:17:29 -0000 1.2
+++ XSType.java 27 Dec 2003 22:10:07 -0000 1.3
@@ -87,4 +87,8 @@
* null.</p>
*/
public XsQName getName();
+
+ /** <p>Returns whether the type is a builtin type of XML Schema.</p>
+ */
+ public boolean isBuiltin();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org