You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2009/02/17 13:01:37 UTC

svn commit: r744980 - /xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/xs/XSImplementation.java

Author: mrglavas
Date: Tue Feb 17 12:01:36 2009
New Revision: 744980

URL: http://svn.apache.org/viewvc?rev=744980&view=rev
Log:
JIRA Issue #1360:
https://issues.apache.org/jira/browse/XERCESJ-1360

XML Schema API Usability improvements. Added utility methods for 
creating StringLists and LSInputLists to XSImplementation.

Modified:
    xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/xs/XSImplementation.java

Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/xs/XSImplementation.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/xs/XSImplementation.java?rev=744980&r1=744979&r2=744980&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/xs/XSImplementation.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/xs/XSImplementation.java Tue Feb 17 12:01:36 2009
@@ -17,6 +17,8 @@
 
 package org.apache.xerces.xs;
 
+import org.w3c.dom.ls.LSInput;
+
 /**
  * This interface allows one to retrieve an instance of <code>XSLoader</code>. 
  * This interface should be implemented on the same object that implements 
@@ -44,5 +46,19 @@
      */
     public XSLoader createXSLoader(StringList versions)
                                    throws XSException;
+    
+    /**
+     * Creates an immutable <code>StringList</code> from the given array of <code>String</code>s.
+     * @param values the array containing the <code>String</code> values that will be placed in the list.
+     * @return an immutable <code>StringList</code> from the given array of <code>String</code>s.
+     */
+    public StringList createStringList(String[] values);
+    
+    /**
+     * Creates an immutable <code>LSInputList</code> from the given array of <code>LSInput</code>s.
+     * @param values the array containing the <code>LSInput</code> values that will be placed in the list.
+     * @return an immutable <code>LSInputList</code> from the given array of <code>LSInput</code>s.
+     */
+    public LSInputList createLSInputList(LSInput[] values);
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org