KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > xml > XsObjectFactory


1 /*
2  * Copyright 2003, 2004 The Apache Software Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15
16  */

17 package org.apache.ws.jaxme.xs.xml;
18
19 import javax.xml.parsers.ParserConfigurationException JavaDoc;
20
21 import org.apache.ws.jaxme.xs.parser.XsSAXParser;
22 import org.xml.sax.Locator JavaDoc;
23 import org.xml.sax.SAXException JavaDoc;
24 import org.xml.sax.XMLReader JavaDoc;
25
26
27 /**
28  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
29  */

30 public interface XsObjectFactory {
31   public Locator JavaDoc getLocator();
32   public XMLReader JavaDoc newXMLReader(boolean pValidating) throws ParserConfigurationException JavaDoc, SAXException JavaDoc;
33   public XsAGDefRef newXsAGDefRef(XsObject pOwner);
34   public XsAGOccurs newXsAGOccurs(XsObject pOwner);
35   public XsEAnnotation newXsEAnnotation(XsObject pParent);
36   public XsEAny newXsEAny(XsObject pParent);
37   public XsEAppinfo newXsEAppinfo(XsObject pParent);
38   public XsEComplexContent newXsEComplexContent(XsObject pParent);
39   public XsEChoice newXsEChoice(XsObject pParent);
40   public XsEDocumentation newXsEDocumentation(XsObject pParent);
41   public XsEEnumeration newXsEEnumeration(XsObject pParent);
42   public XsEField newXsEField(XsObject pParent);
43   public XsEFractionDigits newXsEFractionDigits(XsObject pParent);
44   public XsEKey newXsEKey(XsObject pParent);
45   public XsEImport newXsEImport(XsObject pParent);
46   public XsEInclude newXsEInclude(XsObject pParent);
47   public XsEKeyref newXsEKeyref(XsObject pParent);
48   public XsELength newXsELength(XsObject pParent);
49   public XsEList newXsEList(XsObject pParent);
50   public XsEMaxExclusive newXsEMaxExclusive(XsObject pParent);
51   public XsEMaxInclusive newXsEMaxInclusive(XsObject pParent);
52   public XsEMaxLength newXsEMaxLength(XsObject pParent);
53   public XsEMinExclusive newXsEMinExclusive(XsObject pParent);
54   public XsEMinInclusive newXsEMinInclusive(XsObject pParent);
55   public XsEMinLength newXsEMinLength(XsObject pParent);
56   public XsENotation newXsENotation(XsObject pParent);
57   public XsEPattern newXsEPattern(XsObject pParent);
58   public XsERedefine newXsERedefine(XsObject pParent);
59   public XsERestriction newXsERestriction(XsObject pParent);
60   public XsESchema newXsESchema();
61   public XsESelector newXsESelector(XsObject pParent);
62   public XsESequence newXsESequence(XsObject pParent);
63   public XsESimpleContent newXsESimpleContent(XsObject pParent);
64   public XsETopLevelSimpleType newXsETopLevelSimpleType(XsObject pParent);
65   public XsETotalDigits newXsETotalDigits(XsObject pParent);
66   public XsEUnion newXsEUnion(XsObject pParent);
67   public XsEUnique newXsEUnique(XsObject pParent);
68   public XsEWhiteSpace newXsEWhiteSpace(XsObject pParent);
69   public XsGAllModel newXsGAllModel(XsObject pParent);
70   public XsGAttrDecls newXsGAttrDecls(XsObject pOwner);
71   public XsGIdentityConstraint newXsGIdentityConstraint(XsObject pOwner);
72   public XsGParticle newXsGParticle(XsObject pOwner);
73   public XsGComplexTypeModel newXsGComplexTypeModel(XsObject pOwner);
74   public XsGSimpleRestrictionModel newXsGSimpleRestrictionModel(XsObject pOwner);
75   public XsGTypeDefParticle newXsGTypeDefParticle(XsObject pOwner);
76   public XsSAXParser newXsSAXParser();
77   public XsSAXParser newXsSAXParser(Object JavaDoc pBean);
78   public XsTAll newXsTAll(XsObject pParent);
79   public XsTAnnotated newXsTAnnotated(XsObject pParent);
80   public XsTAttribute newXsTAttribute(XsObject pParent);
81   public XsTAttributeGroup newXsTAttributeGroup(XsObject pParent);
82   public XsTAttributeGroupRef newXsTAttributeGroupRef(XsObject pParent);
83   public XsTComplexRestrictionType newXsTComplexRestrictionType(XsObject pParent);
84   public XsTComplexType newXsTComplexType(XsObject pParent);
85   public XsTExtensionType newXsTExtensionType(XsObject pParent);
86   public XsTLocalElement newXsTLocalElement(XsObject pParent);
87   /** <p>Creates a new instance of {@link XsTLocalElement}, which
88    * is located inside of an <code>xs:all</code> group. The
89    * element ensures that its <code>minOccurs</code> and
90    * <code>maxOccurs</code> values are 0 or 1.</p>
91    */

92   public XsTLocalElement newXsTLocalAllElement(XsObject pParent);
93   public XsTLocalComplexType newXsTLocalComplexType(XsObject pParent);
94   public XsTLocalSimpleType newXsTLocalSimpleType(XsObject pParent);
95   public XsTNamedGroup newXsTNamedGroup(XsObject pParent);
96   public XsTGroup newXsTGroup(XsObject pParent);
97   public XsTGroupRef newXsTGroupRef(XsObject pParent);
98   public XsTSimpleExplicitGroup newXsTSimpleExplicitGroup(XsObject pParent);
99   public XsTSimpleExtensionType newXsTSimpleExtensionType(XsObject pParent);
100   public XsTSimpleRestrictionType newXsTSimpleRestrictionType(XsObject pParent);
101   public XsTTopLevelElement newXsTTopLevelElement(XsObject pParent);
102   public XsTWildcard newXsTWildcard(XsObject pParent);
103 }
Popular Tags