/src/com/microsoft/schemas/crm/_2007/webservices/OwnerDocument.java

http://javamscrm.codeplex.com · Java · 122 lines · 55 code · 29 blank · 38 comment · 0 complexity · d7a2eca9918ba764ea340d56d428d793 MD5 · raw file

  1. /*
  2. * An XML document type.
  3. * Localname: Owner
  4. * Namespace: http://schemas.microsoft.com/crm/2007/WebServices
  5. * Java type: com.microsoft.schemas.crm._2007.webservices.OwnerDocument
  6. *
  7. * Automatically generated - do not modify.
  8. */
  9. package com.microsoft.schemas.crm._2007.webservices;
  10. /**
  11. * A document containing one Owner(@http://schemas.microsoft.com/crm/2007/WebServices) element.
  12. *
  13. * This is a complex type.
  14. */
  15. public interface OwnerDocument extends org.apache.xmlbeans.XmlObject
  16. {
  17. public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
  18. org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(OwnerDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD410F7A3293D843D31E344CF6B343266").resolveHandle("owner7d4fdoctype");
  19. /**
  20. * Gets the "Owner" element
  21. */
  22. com.microsoft.schemas.crm._2006.webservices.Owner getOwner();
  23. /**
  24. * Tests for nil "Owner" element
  25. */
  26. boolean isNilOwner();
  27. /**
  28. * Sets the "Owner" element
  29. */
  30. void setOwner(com.microsoft.schemas.crm._2006.webservices.Owner owner);
  31. /**
  32. * Appends and returns a new empty "Owner" element
  33. */
  34. com.microsoft.schemas.crm._2006.webservices.Owner addNewOwner();
  35. /**
  36. * Nils the "Owner" element
  37. */
  38. void setNilOwner();
  39. /**
  40. * A factory class with static methods for creating instances
  41. * of this type.
  42. */
  43. public static final class Factory
  44. {
  45. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument newInstance() {
  46. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
  47. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
  48. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
  49. /** @param xmlAsString the string value to parse */
  50. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
  51. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
  52. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  53. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
  54. /** @param file the file from which to load an xml document */
  55. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  56. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
  57. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  58. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
  59. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  60. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
  61. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  62. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
  63. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  64. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
  65. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  66. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
  67. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  68. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
  69. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  70. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
  71. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
  72. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
  73. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  74. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
  75. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
  76. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
  77. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  78. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
  79. /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
  80. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
  81. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
  82. /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
  83. public static com.microsoft.schemas.crm._2007.webservices.OwnerDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
  84. return (com.microsoft.schemas.crm._2007.webservices.OwnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
  85. /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
  86. 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 {
  87. return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
  88. /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
  89. 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 {
  90. return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
  91. private Factory() { } // No instance of this class allowed
  92. }
  93. }