source: trunk/docx4j/src/main/java/org/docx4j/customXmlProperties/ObjectFactory.java @ 1255

Revision 1255, 2.0 KB checked in by jharrop, 20 months ago (diff)

SchemaRefs? can contain multiple SchemaRef?. Correct XSD to reflect this and re-generate.

Line 
1/*
2 *  Copyright 2009, Plutext Pty Ltd.
3 *   
4 *  This file is part of docx4j.
5
6    docx4j is licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18
19 */
20
21package org.docx4j.customXmlProperties;
22
23import javax.xml.bind.annotation.XmlRegistry;
24
25
26/**
27 * This object contains factory methods for each
28 * Java content interface and Java element interface
29 * generated in the org.docx4j.customXmlProperties package.
30 * <p>An ObjectFactory allows you to programatically
31 * construct new instances of the Java representation
32 * for XML content. The Java representation of XML
33 * content can consist of schema derived interfaces
34 * and classes representing the binding of schema
35 * type definitions, element declarations and model
36 * groups.  Factory methods for each of these are
37 * provided in this class.
38 *
39 */
40@XmlRegistry
41public class ObjectFactory {
42
43
44    /**
45     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.docx4j.customXmlProperties
46     *
47     */
48    public ObjectFactory() {
49    }
50
51    /**
52     * Create an instance of {@link SchemaRefs.SchemaRef }
53     *
54     */
55    public SchemaRefs.SchemaRef createSchemaRefsSchemaRef() {
56        return new SchemaRefs.SchemaRef();
57    }
58
59    /**
60     * Create an instance of {@link SchemaRefs }
61     *
62     */
63    public SchemaRefs createSchemaRefs() {
64        return new SchemaRefs();
65    }
66
67    /**
68     * Create an instance of {@link DatastoreItem }
69     *
70     */
71    public DatastoreItem createDatastoreItem() {
72        return new DatastoreItem();
73    }
74
75}
Note: See TracBrowser for help on using the repository browser.