KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > 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;
18
19 import org.apache.ws.jaxme.xs.impl.XSLogicalParser;
20 import org.apache.ws.jaxme.xs.parser.XSContext;
21 import org.apache.ws.jaxme.xs.xml.*;
22 import org.xml.sax.SAXException JavaDoc;
23
24
25 /** <p>An object factory for the logical XSParser.</p>
26  *
27  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
28  */

29 public interface XSObjectFactory {
30   /** <p>Returns a new instance of {@link XSLogicalParser}.</p>
31    */

32   public XSLogicalParser newXSLogicalParser();
33   /** <p>Returns a new instance of {@link XSSchema}.</p>
34    */

35   public XSSchema newXSSchema(XSContext pContext, XsESchema pSchema) throws SAXException JavaDoc;
36   /** <p>Returns a new instance of {@link XSAnnotation}.</p>
37    */

38   public XSAnnotation newXSAnnotation(XSObject pParent, XsEAnnotation pAnnotation) throws SAXException JavaDoc;
39   /** <p>Returns a new instances of {@link XSAnnotation}.</p>
40    */

41   public XSAnnotation[] newXSAnnotations(XSObject pParent, XsEAnnotation pAnnotation) throws SAXException JavaDoc;
42   /** <p>Returns a new instance of {@link XSAppinfo}.</p>
43    */

44   public XSAppinfo newXSAppinfo(XSObject pParent, XsEAppinfo pAppinfo);
45   /** <p>Returns a new instance of {@link XSSimpleType}.</p>
46    */

47   public XSSimpleType newXSAtomicType(XSType pParent, XSType pRestrictedType, XsERestriction pRestriction) throws SAXException JavaDoc;
48   /** <p>Returns a new instance of {@link XSSimpleType}.</p>
49    */

50   public XSSimpleType newXSAtomicType(XSType pParent, XSType pRestrictedType, XsTSimpleRestrictionType pRestriction) throws SAXException JavaDoc;
51   /** <p>Returns a new instance of {@link XSAttribute}.</p>
52    */

53   public XSAttribute newXSAttribute(XSObject pParent, XsTAttribute pAttribute) throws SAXException JavaDoc;
54   /** <p>Returns a new instance of {@link XSAttributeGroup}.</p>
55    */

56   public XSAttributeGroup newXSAttributeGroup(XSObject pParent, XsTAttributeGroup pGroup) throws SAXException JavaDoc;
57   /** <p>Returns a new instance of {@link XSDocumentation}.</p>
58    */

59   public XSDocumentation newXSDocumentation(XSObject pParent, XsEDocumentation pDocumentation) throws SAXException JavaDoc;
60   /** <p>Returns a new instance of {@link XSElement}.</p>
61    */

62   public XSElement newXSElement(XSObject pParent, XsTElement pElement) throws SAXException JavaDoc;
63   /** <p>Returns a new instance of {@link XSEnumeration}.</p>
64    */

65   public XSEnumeration newXSEnumeration(XSObject pParent, XsEEnumeration pEnumeration) throws SAXException JavaDoc;
66   /** <p>Returns a new instance of {@link XSSimpleType}.</p>
67    */

68   public XSSimpleType newXSListType(XSType pParent, XsEList pList) throws SAXException JavaDoc;
69   /** <p>Returns a new instance of {@link XSSimpleType}.</p>
70    */

71   public XSSimpleType newXSListType(XSType pParent, XSType pRestrictedType, XsERestriction pRestriction) throws SAXException JavaDoc;
72   /** <p>Returns a new instance of {@link XSSimpleType}.</p>
73    */

74   public XSSimpleType newXSListType(XSType pParent, XSType pRestrictedType, XsTSimpleRestrictionType pRestriction) throws SAXException JavaDoc;
75   /** <p>Returns a new instance of {@link XSGroup}.</p>
76    */

77   public XSGroup newXSGroup(XSObject pParent, XsTNamedGroup pGroup) throws SAXException JavaDoc;
78   /** <p>Returns a new instance of {@link XSGroup}.</p>
79    */

80   public XSGroup newXSGroup(XSObject pParent, XsTAll pAll) throws SAXException JavaDoc;
81   /** <p>Returns a new instance of {@link XSGroup}.</p>
82    */

83   public XSGroup newXSGroup(XSObject pParent, XsTGroupRef pGroup) throws SAXException JavaDoc;
84   /** <p>Returns a new instance of {@link XSGroup}.</p>
85    */

86   public XSGroup newXSGroup(XSObject pParent, XsEChoice pChoice) throws SAXException JavaDoc;
87   /** <p>Returns a new instance of {@link XSGroup}.</p>
88    */

89   public XSGroup newXSGroup(XSObject pParent, XsESequence pSequence) throws SAXException JavaDoc;
90   /** <p>Returns a new instance of {@link XSType}.</p>
91    */

92   public XSType newXSType(XSObject pParent, XsETopLevelSimpleType pType) throws SAXException JavaDoc;
93   /** <p>Returns a new instance of {@link XSType}.</p>
94    */

95   public XSType newXSType(XSObject pParent, XsTComplexType pType) throws SAXException JavaDoc;
96   /** <p>Returns a new instance of {@link XSType}.</p>
97    */

98   public XSType newXSType(XSObject pParent, XsTLocalComplexType pType) throws SAXException JavaDoc;
99   /** <p>Returns a new instance of {@link XSType}.</p>
100    */

101   public XSType newXSType(XSObject pParent, XsTLocalSimpleType pType) throws SAXException JavaDoc;
102   /** <p>Returns a new instance of {@link XSType}.</p>
103    */

104   public XSType newXSType(XSObject pParent, XsTSimpleRestrictionType pType) throws SAXException JavaDoc;
105   /** <p>Returns a new instance of {@link XSNotation}.</p>
106    */

107   public XSNotation newXSNotation(XSObject pParent, XsENotation pType) throws SAXException JavaDoc;
108   /** <p>Returns a new instance of {@link XSSimpleContentType}.</p>
109    */

110   public XSSimpleContentType newXSSimpleContentType(XSType pComplexType, XSType pSimpleType, XsObject pBaseObject) throws SAXException JavaDoc;
111   /** <p>Returns a new instance of {@link XSSimpleType}.</p>
112    */

113   public XSSimpleType newXSUnionType(XSType pParent, XsEUnion pUnion) throws SAXException JavaDoc;
114   /** <p>Returns a new instance of {@link XSSimpleType}.</p>
115    */

116   public XSSimpleType newXSUnionType(XSType pParent, XSType pRestrictedType, XsERestriction pRestriction) throws SAXException JavaDoc;
117   /** <p>Returns a new instance of {@link XSSimpleType}.</p>
118    */

119   public XSSimpleType newXSUnionType(XSType pParent, XSType pRestrictedType, XsTSimpleRestrictionType pRestriction) throws SAXException JavaDoc;
120   /** <p>Returns a new instance of {@link XSWildcard}.</p>
121    */

122   public XSWildcard newXSWildcard(XSObject pParent, XsTWildcard pWildcard) throws SAXException JavaDoc;
123   /** <p>Returns a new instance of {@link XSAny}.</p>
124    */

125   public XSAny newXSAny(XSObject pParent, XsEAny pAny) throws SAXException JavaDoc;
126   /** <p>Returns a new instance of {@link XSKeyRef}.</p>
127    */

128   public XSKeyRef newXSKeyRef(XSElement pParent, XsEKeyref keyRef) throws SAXException JavaDoc;
129   /** <p>Returns a new instance of {@link XSIdentityConstraint}.</p>
130    */

131   public XSIdentityConstraint newXSIdentityConstraint(XSElement pParent,
132                                                       XsEUnique unique) throws SAXException JavaDoc;
133   /** <p>Returns a new instance of {@link XSIdentityConstraint}.</p>
134    */

135   public XSIdentityConstraint newXSIdentityConstraint(XSElement pParent,
136                                                       XsEKey key) throws SAXException JavaDoc;
137 }
138
Popular Tags