You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by ra...@apache.org on 2005/05/02 23:36:15 UTC
svn commit: r165701 -
/xmlbeans/branches/1.x/src/xmlpublic/org/apache/xmlbeans/XmlOptions.java
Author: radup
Date: Mon May 2 14:36:15 2005
New Revision: 165701
URL: http://svn.apache.org/viewcvs?rev=165701&view=rev
Log:
Fix for http://issues.apache.org/jira/browse/XMLBEANS-118
Modified:
xmlbeans/branches/1.x/src/xmlpublic/org/apache/xmlbeans/XmlOptions.java
Modified: xmlbeans/branches/1.x/src/xmlpublic/org/apache/xmlbeans/XmlOptions.java
URL: http://svn.apache.org/viewcvs/xmlbeans/branches/1.x/src/xmlpublic/org/apache/xmlbeans/XmlOptions.java?rev=165701&r1=165700&r2=165701&view=diff
==============================================================================
--- xmlbeans/branches/1.x/src/xmlpublic/org/apache/xmlbeans/XmlOptions.java (original)
+++ xmlbeans/branches/1.x/src/xmlpublic/org/apache/xmlbeans/XmlOptions.java Mon May 2 14:36:15 2005
@@ -41,6 +41,40 @@
* System.out.println(xobj.xmlText(
* new XmlOptions().setSavePrettyPrint().setSavePrettyPrintIndent(4)));
* </pre>
+ *
+ * Table showing where each option gets used.
+ * Note that:
+ * <ul>
+ * <li>options available for <code>newInstance</code> methods will also
+ * apply for <code>parse</code> methods</li>
+ * <li>options used for <code>validate</code> methods are also used for
+ * <code>compile</code> methods, since compilation usually implies
+ * validation against Schema for Schemas</li>
+ * </ul>
+ *
+ * <table border="1">
+ * <tr>
+ * <th align="center"><code>newInstance</code> methods</th>
+ * <th align="center"><code>parse</code> methods</th>
+ * <th align="center"><code>validate</code> methods</th>
+ * <th align="center"><code>compile</code> methods</th>
+ * <th align="center"><code>save</code> and <code>xmlText</code>methods</th>
+ * </tr>
+ * <tr>
+ * <td align="center"><code>setDocumentType</code><br/>
+ * <code>setDocumentSourceName</code><br/>
+ * <code>setValidateOnSet</code></td>
+ * <td align="center"><code>setLoad***</code><br/>
+ * <code>setEntityResolver</code></td>
+ * <td align="center"><code>setErrorListener</code><br/>
+ * <td align="center"><code>setErrorListener</code><br/>
+ * <code>setCompile***</code><br/>
+ * <code>setEntityResolver</code><br/>
+ * <td align="center"><code>setSave***</code><br/>
+ * <code>setUseDefaultNamespace</code><br/>
+ * <code>setCharacterEncoding</code></td>
+ * </tr>
+ * </table>
*/
public class XmlOptions implements java.io.Serializable
{
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org