Author: jkaputin
Date: Wed Jun 7 02:58:47 2006
New Revision: 412352
URL: http://svn.apache.org/viewvc?rev=412352&view=rev
Log:
Added static final constants representing APIs that may be used
for the content model (E.g. DOM or ws-commons XmlSchema).
Modified:
incubator/woden/java/src/org/apache/woden/wsdl20/ElementDeclaration.java
incubator/woden/java/src/org/apache/woden/wsdl20/TypeDefinition.java
Modified:
incubator/woden/java/src/org/apache/woden/wsdl20/ElementDeclaration.java
URL:
http://svn.apache.org/viewvc/incubator/woden/java/src/org/apache/woden/wsdl20/ElementDeclaration.java?rev=412352&r1=412351&r2=412352&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/ElementDeclaration.java
(original)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/ElementDeclaration.java
Wed Jun 7 02:58:47 2006
@@ -40,6 +40,20 @@
public interface ElementDeclaration {
/**
+ * A constant representing the DOM API,
+ * used to indicate the content model.
+ */
+ public static final String API_W3C_DOM =
+ "org.w3c.dom";
+
+ /**
+ * A constant representing the Apache Ws-Commons XmlSchema API,
+ * used to indicate the content model.
+ */
+ public static final String API_APACHE_WS_XS =
+ "org.apache.ws.commons.schema";
+
+ /**
* @return the QName identifying this element declaration in the
* underlying type system definition.
*
Modified: incubator/woden/java/src/org/apache/woden/wsdl20/TypeDefinition.java
URL:
http://svn.apache.org/viewvc/incubator/woden/java/src/org/apache/woden/wsdl20/TypeDefinition.java?rev=412352&r1=412351&r2=412352&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/TypeDefinition.java
(original)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/TypeDefinition.java Wed
Jun 7 02:58:47 2006
@@ -40,6 +40,20 @@
public interface TypeDefinition {
/**
+ * A constant representing the DOM API,
+ * used to indicate the content model.
+ */
+ public static final String API_W3C_DOM =
+ "org.w3c.dom";
+
+ /**
+ * A constant representing the Apache Ws-Commons XmlSchema API,
+ * used to indicate the content model.
+ */
+ public static final String API_APACHE_WS_XS =
+ "org.apache.ws.commons.schema";
+
+ /**
* @return the QName identifying this type definition in the
* underlying type system definition.
*
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]