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 2006/07/27 00:02:11 UTC
svn commit: r425869 [1/2] - in /xmlbeans/trunk:
samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/
src/store/org/apache/xmlbeans/impl/store/
src/typeimpl/org/apache/xmlbeans/impl/schema/
src/typeimpl/org/apache/xmlbeans/impl/values/ ...
Author: radup
Date: Wed Jul 26 15:02:10 2006
New Revision: 425869
URL: http://svn.apache.org/viewvc?rev=425869&view=rev
Log:
Several fixes:
- XMLBEANS-276
- updated the generated files in the XQueryXpath sample
- fixed a syncronization problem with array setters
- changed the SchemaAnnotation.Attribute API to include information about URI mapping
Modified:
xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/AddressType.java
xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/EmployeeType.java
xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/EmployeesDocument.java
xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/PhoneType.java
xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Path.java
xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/SaxonXBeansDelegate.java
xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaAnnotationImpl.java
xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.java
xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/values/XmlComplexContentImpl.java
xmlbeans/trunk/src/xmlcomp/org/apache/xmlbeans/impl/tool/XsbDumper.java
xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/SchemaAnnotation.java
xmlbeans/trunk/src/xpath_xquery/org/apache/xmlbeans/impl/xpath/saxon/XBeansXPath.java
xmlbeans/trunk/src/xpath_xquery/org/apache/xmlbeans/impl/xquery/saxon/XBeansXQuery.java
Modified: xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/AddressType.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/AddressType.java?rev=425869&r1=425868&r2=425869&view=diff
==============================================================================
--- xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/AddressType.java (original)
+++ xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/AddressType.java Wed Jul 26 15:02:10 2006
@@ -1,195 +1,196 @@
-/*
- * XML Type: addressType
- * Namespace: http://xmlbeans.apache.org/samples/xquery/employees
- * Java type: org.apache.xmlbeans.samples.xquery.employees.AddressType
- *
- * Automatically generated - do not modify.
- */
-package org.apache.xmlbeans.samples.xquery.employees;
-
-
-/**
- * An XML addressType(@http://xmlbeans.apache.org/samples/xquery/employees).
- *
- * This is a complex type.
- */
-public interface AddressType extends org.apache.xmlbeans.XmlObject
-{
- public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD4FB2ECA19277E984CA2AB92FEEBD267.TypeSystemHolder.typeSystem.resolveHandle("addresstype93ectype");
-
- /**
- * Gets the "street" element
- */
- java.lang.String getStreet();
-
- /**
- * Gets (as xml) the "street" element
- */
- org.apache.xmlbeans.XmlString xgetStreet();
-
- /**
- * Sets the "street" element
- */
- void setStreet(java.lang.String street);
-
- /**
- * Sets (as xml) the "street" element
- */
- void xsetStreet(org.apache.xmlbeans.XmlString street);
-
- /**
- * Gets the "city" element
- */
- java.lang.String getCity();
-
- /**
- * Gets (as xml) the "city" element
- */
- org.apache.xmlbeans.XmlNCName xgetCity();
-
- /**
- * Sets the "city" element
- */
- void setCity(java.lang.String city);
-
- /**
- * Sets (as xml) the "city" element
- */
- void xsetCity(org.apache.xmlbeans.XmlNCName city);
-
- /**
- * Gets the "state" element
- */
- java.lang.String getState();
-
- /**
- * Gets (as xml) the "state" element
- */
- org.apache.xmlbeans.XmlNCName xgetState();
-
- /**
- * Sets the "state" element
- */
- void setState(java.lang.String state);
-
- /**
- * Sets (as xml) the "state" element
- */
- void xsetState(org.apache.xmlbeans.XmlNCName state);
-
- /**
- * Gets the "zip" element
- */
- java.math.BigInteger getZip();
-
- /**
- * Gets (as xml) the "zip" element
- */
- org.apache.xmlbeans.XmlInteger xgetZip();
-
- /**
- * Sets the "zip" element
- */
- void setZip(java.math.BigInteger zip);
-
- /**
- * Sets (as xml) the "zip" element
- */
- void xsetZip(org.apache.xmlbeans.XmlInteger zip);
-
- /**
- * Gets the "location" attribute
- */
- java.lang.String getLocation();
-
- /**
- * Gets (as xml) the "location" attribute
- */
- org.apache.xmlbeans.XmlNCName xgetLocation();
-
- /**
- * Sets the "location" attribute
- */
- void setLocation(java.lang.String location);
-
- /**
- * Sets (as xml) the "location" attribute
- */
- void xsetLocation(org.apache.xmlbeans.XmlNCName location);
-
- /**
- * A factory class with static methods for creating instances
- * of this type.
- */
-
- public static final class Factory
- {
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType newInstance() {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType newInstance(org.apache.xmlbeans.XmlOptions options) {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-
- /** @param xmlAsString the string value to parse */
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-
- /** @param file the file from which to load an xml document */
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-
- private Factory() { } // No instance of this class allowed
- }
-}
+/*
+ * XML Type: addressType
+ * Namespace: http://xmlbeans.apache.org/samples/xquery/employees
+ * Java type: org.apache.xmlbeans.samples.xquery.employees.AddressType
+ *
+ * Automatically generated - do not modify.
+ */
+package org.apache.xmlbeans.samples.xquery.employees;
+
+
+/**
+ * An XML addressType(@http://xmlbeans.apache.org/samples/xquery/employees).
+ *
+ * This is a complex type.
+ */
+public interface AddressType extends org.apache.xmlbeans.XmlObject
+{
+ public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
+ org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(AddressType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD4FB2ECA19277E984CA2AB92FEEBD267").resolveHandle("addresstype93ectype");
+
+ /**
+ * Gets the "street" element
+ */
+ java.lang.String getStreet();
+
+ /**
+ * Gets (as xml) the "street" element
+ */
+ org.apache.xmlbeans.XmlString xgetStreet();
+
+ /**
+ * Sets the "street" element
+ */
+ void setStreet(java.lang.String street);
+
+ /**
+ * Sets (as xml) the "street" element
+ */
+ void xsetStreet(org.apache.xmlbeans.XmlString street);
+
+ /**
+ * Gets the "city" element
+ */
+ java.lang.String getCity();
+
+ /**
+ * Gets (as xml) the "city" element
+ */
+ org.apache.xmlbeans.XmlNCName xgetCity();
+
+ /**
+ * Sets the "city" element
+ */
+ void setCity(java.lang.String city);
+
+ /**
+ * Sets (as xml) the "city" element
+ */
+ void xsetCity(org.apache.xmlbeans.XmlNCName city);
+
+ /**
+ * Gets the "state" element
+ */
+ java.lang.String getState();
+
+ /**
+ * Gets (as xml) the "state" element
+ */
+ org.apache.xmlbeans.XmlNCName xgetState();
+
+ /**
+ * Sets the "state" element
+ */
+ void setState(java.lang.String state);
+
+ /**
+ * Sets (as xml) the "state" element
+ */
+ void xsetState(org.apache.xmlbeans.XmlNCName state);
+
+ /**
+ * Gets the "zip" element
+ */
+ java.math.BigInteger getZip();
+
+ /**
+ * Gets (as xml) the "zip" element
+ */
+ org.apache.xmlbeans.XmlInteger xgetZip();
+
+ /**
+ * Sets the "zip" element
+ */
+ void setZip(java.math.BigInteger zip);
+
+ /**
+ * Sets (as xml) the "zip" element
+ */
+ void xsetZip(org.apache.xmlbeans.XmlInteger zip);
+
+ /**
+ * Gets the "location" attribute
+ */
+ java.lang.String getLocation();
+
+ /**
+ * Gets (as xml) the "location" attribute
+ */
+ org.apache.xmlbeans.XmlNCName xgetLocation();
+
+ /**
+ * Sets the "location" attribute
+ */
+ void setLocation(java.lang.String location);
+
+ /**
+ * Sets (as xml) the "location" attribute
+ */
+ void xsetLocation(org.apache.xmlbeans.XmlNCName location);
+
+ /**
+ * A factory class with static methods for creating instances
+ * of this type.
+ */
+
+ public static final class Factory
+ {
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType newInstance() {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType newInstance(org.apache.xmlbeans.XmlOptions options) {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
+
+ /** @param xmlAsString the string value to parse */
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
+
+ /** @param file the file from which to load an xml document */
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
+
+ private Factory() { } // No instance of this class allowed
+ }
+}
Modified: xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/EmployeeType.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/EmployeeType.java?rev=425869&r1=425868&r2=425869&view=diff
==============================================================================
--- xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/EmployeeType.java (original)
+++ xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/EmployeeType.java Wed Jul 26 15:02:10 2006
@@ -1,195 +1,196 @@
-/*
- * XML Type: employeeType
- * Namespace: http://xmlbeans.apache.org/samples/xquery/employees
- * Java type: org.apache.xmlbeans.samples.xquery.employees.EmployeeType
- *
- * Automatically generated - do not modify.
- */
-package org.apache.xmlbeans.samples.xquery.employees;
-
-
-/**
- * An XML employeeType(@http://xmlbeans.apache.org/samples/xquery/employees).
- *
- * This is a complex type.
- */
-public interface EmployeeType extends org.apache.xmlbeans.XmlObject
-{
- public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD4FB2ECA19277E984CA2AB92FEEBD267.TypeSystemHolder.typeSystem.resolveHandle("employeetype5e98type");
-
- /**
- * Gets the "name" element
- */
- java.lang.String getName();
-
- /**
- * Gets (as xml) the "name" element
- */
- org.apache.xmlbeans.XmlString xgetName();
-
- /**
- * Sets the "name" element
- */
- void setName(java.lang.String name);
-
- /**
- * Sets (as xml) the "name" element
- */
- void xsetName(org.apache.xmlbeans.XmlString name);
-
- /**
- * Gets array of all "address" elements
- */
- org.apache.xmlbeans.samples.xquery.employees.AddressType[] getAddressArray();
-
- /**
- * Gets ith "address" element
- */
- org.apache.xmlbeans.samples.xquery.employees.AddressType getAddressArray(int i);
-
- /**
- * Returns number of "address" element
- */
- int sizeOfAddressArray();
-
- /**
- * Sets array of all "address" element
- */
- void setAddressArray(org.apache.xmlbeans.samples.xquery.employees.AddressType[] addressArray);
-
- /**
- * Sets ith "address" element
- */
- void setAddressArray(int i, org.apache.xmlbeans.samples.xquery.employees.AddressType address);
-
- /**
- * Inserts and returns a new empty value (as xml) as the ith "address" element
- */
- org.apache.xmlbeans.samples.xquery.employees.AddressType insertNewAddress(int i);
-
- /**
- * Appends and returns a new empty value (as xml) as the last "address" element
- */
- org.apache.xmlbeans.samples.xquery.employees.AddressType addNewAddress();
-
- /**
- * Removes the ith "address" element
- */
- void removeAddress(int i);
-
- /**
- * Gets array of all "phone" elements
- */
- org.apache.xmlbeans.samples.xquery.employees.PhoneType[] getPhoneArray();
-
- /**
- * Gets ith "phone" element
- */
- org.apache.xmlbeans.samples.xquery.employees.PhoneType getPhoneArray(int i);
-
- /**
- * Returns number of "phone" element
- */
- int sizeOfPhoneArray();
-
- /**
- * Sets array of all "phone" element
- */
- void setPhoneArray(org.apache.xmlbeans.samples.xquery.employees.PhoneType[] phoneArray);
-
- /**
- * Sets ith "phone" element
- */
- void setPhoneArray(int i, org.apache.xmlbeans.samples.xquery.employees.PhoneType phone);
-
- /**
- * Inserts and returns a new empty value (as xml) as the ith "phone" element
- */
- org.apache.xmlbeans.samples.xquery.employees.PhoneType insertNewPhone(int i);
-
- /**
- * Appends and returns a new empty value (as xml) as the last "phone" element
- */
- org.apache.xmlbeans.samples.xquery.employees.PhoneType addNewPhone();
-
- /**
- * Removes the ith "phone" element
- */
- void removePhone(int i);
-
- /**
- * A factory class with static methods for creating instances
- * of this type.
- */
-
- public static final class Factory
- {
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType newInstance() {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType newInstance(org.apache.xmlbeans.XmlOptions options) {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-
- /** @param xmlAsString the string value to parse */
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-
- /** @param file the file from which to load an xml document */
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-
- private Factory() { } // No instance of this class allowed
- }
-}
+/*
+ * XML Type: employeeType
+ * Namespace: http://xmlbeans.apache.org/samples/xquery/employees
+ * Java type: org.apache.xmlbeans.samples.xquery.employees.EmployeeType
+ *
+ * Automatically generated - do not modify.
+ */
+package org.apache.xmlbeans.samples.xquery.employees;
+
+
+/**
+ * An XML employeeType(@http://xmlbeans.apache.org/samples/xquery/employees).
+ *
+ * This is a complex type.
+ */
+public interface EmployeeType extends org.apache.xmlbeans.XmlObject
+{
+ public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
+ org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(EmployeeType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD4FB2ECA19277E984CA2AB92FEEBD267").resolveHandle("employeetype5e98type");
+
+ /**
+ * Gets the "name" element
+ */
+ java.lang.String getName();
+
+ /**
+ * Gets (as xml) the "name" element
+ */
+ org.apache.xmlbeans.XmlString xgetName();
+
+ /**
+ * Sets the "name" element
+ */
+ void setName(java.lang.String name);
+
+ /**
+ * Sets (as xml) the "name" element
+ */
+ void xsetName(org.apache.xmlbeans.XmlString name);
+
+ /**
+ * Gets array of all "address" elements
+ */
+ org.apache.xmlbeans.samples.xquery.employees.AddressType[] getAddressArray();
+
+ /**
+ * Gets ith "address" element
+ */
+ org.apache.xmlbeans.samples.xquery.employees.AddressType getAddressArray(int i);
+
+ /**
+ * Returns number of "address" element
+ */
+ int sizeOfAddressArray();
+
+ /**
+ * Sets array of all "address" element
+ */
+ void setAddressArray(org.apache.xmlbeans.samples.xquery.employees.AddressType[] addressArray);
+
+ /**
+ * Sets ith "address" element
+ */
+ void setAddressArray(int i, org.apache.xmlbeans.samples.xquery.employees.AddressType address);
+
+ /**
+ * Inserts and returns a new empty value (as xml) as the ith "address" element
+ */
+ org.apache.xmlbeans.samples.xquery.employees.AddressType insertNewAddress(int i);
+
+ /**
+ * Appends and returns a new empty value (as xml) as the last "address" element
+ */
+ org.apache.xmlbeans.samples.xquery.employees.AddressType addNewAddress();
+
+ /**
+ * Removes the ith "address" element
+ */
+ void removeAddress(int i);
+
+ /**
+ * Gets array of all "phone" elements
+ */
+ org.apache.xmlbeans.samples.xquery.employees.PhoneType[] getPhoneArray();
+
+ /**
+ * Gets ith "phone" element
+ */
+ org.apache.xmlbeans.samples.xquery.employees.PhoneType getPhoneArray(int i);
+
+ /**
+ * Returns number of "phone" element
+ */
+ int sizeOfPhoneArray();
+
+ /**
+ * Sets array of all "phone" element
+ */
+ void setPhoneArray(org.apache.xmlbeans.samples.xquery.employees.PhoneType[] phoneArray);
+
+ /**
+ * Sets ith "phone" element
+ */
+ void setPhoneArray(int i, org.apache.xmlbeans.samples.xquery.employees.PhoneType phone);
+
+ /**
+ * Inserts and returns a new empty value (as xml) as the ith "phone" element
+ */
+ org.apache.xmlbeans.samples.xquery.employees.PhoneType insertNewPhone(int i);
+
+ /**
+ * Appends and returns a new empty value (as xml) as the last "phone" element
+ */
+ org.apache.xmlbeans.samples.xquery.employees.PhoneType addNewPhone();
+
+ /**
+ * Removes the ith "phone" element
+ */
+ void removePhone(int i);
+
+ /**
+ * A factory class with static methods for creating instances
+ * of this type.
+ */
+
+ public static final class Factory
+ {
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType newInstance() {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType newInstance(org.apache.xmlbeans.XmlOptions options) {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
+
+ /** @param xmlAsString the string value to parse */
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
+
+ /** @param file the file from which to load an xml document */
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
+
+ private Factory() { } // No instance of this class allowed
+ }
+}
Modified: xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/EmployeesDocument.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/EmployeesDocument.java?rev=425869&r1=425868&r2=425869&view=diff
==============================================================================
--- xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/EmployeesDocument.java (original)
+++ xmlbeans/trunk/samples/XQueryXPath/src/org/apache/xmlbeans/samples/xquery/employees/EmployeesDocument.java Wed Jul 26 15:02:10 2006
@@ -1,177 +1,179 @@
-/*
- * An XML document type.
- * Localname: employees
- * Namespace: http://xmlbeans.apache.org/samples/xquery/employees
- * Java type: org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument
- *
- * Automatically generated - do not modify.
- */
-package org.apache.xmlbeans.samples.xquery.employees;
-
-
-/**
- * A document containing one employees(@http://xmlbeans.apache.org/samples/xquery/employees) element.
- *
- * This is a complex type.
- */
-public interface EmployeesDocument extends org.apache.xmlbeans.XmlObject
-{
- public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD4FB2ECA19277E984CA2AB92FEEBD267.TypeSystemHolder.typeSystem.resolveHandle("employees8e53doctype");
-
- /**
- * Gets the "employees" element
- */
- org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees getEmployees();
-
- /**
- * Sets the "employees" element
- */
- void setEmployees(org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees employees);
-
- /**
- * Appends and returns a new empty "employees" element
- */
- org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees addNewEmployees();
-
- /**
- * An XML employees(@http://xmlbeans.apache.org/samples/xquery/employees).
- *
- * This is a complex type.
- */
- public interface Employees extends org.apache.xmlbeans.XmlObject
- {
- public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD4FB2ECA19277E984CA2AB92FEEBD267.TypeSystemHolder.typeSystem.resolveHandle("employees9844elemtype");
-
- /**
- * Gets array of all "employee" elements
- */
- org.apache.xmlbeans.samples.xquery.employees.EmployeeType[] getEmployeeArray();
-
- /**
- * Gets ith "employee" element
- */
- org.apache.xmlbeans.samples.xquery.employees.EmployeeType getEmployeeArray(int i);
-
- /**
- * Returns number of "employee" element
- */
- int sizeOfEmployeeArray();
-
- /**
- * Sets array of all "employee" element
- */
- void setEmployeeArray(org.apache.xmlbeans.samples.xquery.employees.EmployeeType[] employeeArray);
-
- /**
- * Sets ith "employee" element
- */
- void setEmployeeArray(int i, org.apache.xmlbeans.samples.xquery.employees.EmployeeType employee);
-
- /**
- * Inserts and returns a new empty value (as xml) as the ith "employee" element
- */
- org.apache.xmlbeans.samples.xquery.employees.EmployeeType insertNewEmployee(int i);
-
- /**
- * Appends and returns a new empty value (as xml) as the last "employee" element
- */
- org.apache.xmlbeans.samples.xquery.employees.EmployeeType addNewEmployee();
-
- /**
- * Removes the ith "employee" element
- */
- void removeEmployee(int i);
-
- /**
- * A factory class with static methods for creating instances
- * of this type.
- */
-
- public static final class Factory
- {
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees newInstance() {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees newInstance(org.apache.xmlbeans.XmlOptions options) {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-
- private Factory() { } // No instance of this class allowed
- }
- }
-
- /**
- * A factory class with static methods for creating instances
- * of this type.
- */
-
- public static final class Factory
- {
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument newInstance() {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-
- /** @param xmlAsString the string value to parse */
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-
- /** @param file the file from which to load an xml document */
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-
- /** @deprecated {@link XMLInputStream} */
- public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
- return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-
- private Factory() { } // No instance of this class allowed
- }
-}
+/*
+ * An XML document type.
+ * Localname: employees
+ * Namespace: http://xmlbeans.apache.org/samples/xquery/employees
+ * Java type: org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument
+ *
+ * Automatically generated - do not modify.
+ */
+package org.apache.xmlbeans.samples.xquery.employees;
+
+
+/**
+ * A document containing one employees(@http://xmlbeans.apache.org/samples/xquery/employees) element.
+ *
+ * This is a complex type.
+ */
+public interface EmployeesDocument extends org.apache.xmlbeans.XmlObject
+{
+ public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
+ org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(EmployeesDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD4FB2ECA19277E984CA2AB92FEEBD267").resolveHandle("employees8e53doctype");
+
+ /**
+ * Gets the "employees" element
+ */
+ org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees getEmployees();
+
+ /**
+ * Sets the "employees" element
+ */
+ void setEmployees(org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees employees);
+
+ /**
+ * Appends and returns a new empty "employees" element
+ */
+ org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees addNewEmployees();
+
+ /**
+ * An XML employees(@http://xmlbeans.apache.org/samples/xquery/employees).
+ *
+ * This is a complex type.
+ */
+ public interface Employees extends org.apache.xmlbeans.XmlObject
+ {
+ public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
+ org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Employees.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD4FB2ECA19277E984CA2AB92FEEBD267").resolveHandle("employees9844elemtype");
+
+ /**
+ * Gets array of all "employee" elements
+ */
+ org.apache.xmlbeans.samples.xquery.employees.EmployeeType[] getEmployeeArray();
+
+ /**
+ * Gets ith "employee" element
+ */
+ org.apache.xmlbeans.samples.xquery.employees.EmployeeType getEmployeeArray(int i);
+
+ /**
+ * Returns number of "employee" element
+ */
+ int sizeOfEmployeeArray();
+
+ /**
+ * Sets array of all "employee" element
+ */
+ void setEmployeeArray(org.apache.xmlbeans.samples.xquery.employees.EmployeeType[] employeeArray);
+
+ /**
+ * Sets ith "employee" element
+ */
+ void setEmployeeArray(int i, org.apache.xmlbeans.samples.xquery.employees.EmployeeType employee);
+
+ /**
+ * Inserts and returns a new empty value (as xml) as the ith "employee" element
+ */
+ org.apache.xmlbeans.samples.xquery.employees.EmployeeType insertNewEmployee(int i);
+
+ /**
+ * Appends and returns a new empty value (as xml) as the last "employee" element
+ */
+ org.apache.xmlbeans.samples.xquery.employees.EmployeeType addNewEmployee();
+
+ /**
+ * Removes the ith "employee" element
+ */
+ void removeEmployee(int i);
+
+ /**
+ * A factory class with static methods for creating instances
+ * of this type.
+ */
+
+ public static final class Factory
+ {
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees newInstance() {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees newInstance(org.apache.xmlbeans.XmlOptions options) {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument.Employees) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
+
+ private Factory() { } // No instance of this class allowed
+ }
+ }
+
+ /**
+ * A factory class with static methods for creating instances
+ * of this type.
+ */
+
+ public static final class Factory
+ {
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument newInstance() {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
+
+ /** @param xmlAsString the string value to parse */
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
+
+ /** @param file the file from which to load an xml document */
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
+
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return (org.apache.xmlbeans.samples.xquery.employees.EmployeesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
+
+ /** @deprecated {@link XMLInputStream} */
+ public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
+ return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
+
+ private Factory() { } // No instance of this class allowed
+ }
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org