1 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 ; 23 24 25 29 public interface XSObjectFactory { 30 32 public XSLogicalParser newXSLogicalParser(); 33 35 public XSSchema newXSSchema(XSContext pContext, XsESchema pSchema) throws SAXException ; 36 38 public XSAnnotation newXSAnnotation(XSObject pParent, XsEAnnotation pAnnotation) throws SAXException ; 39 41 public XSAnnotation[] newXSAnnotations(XSObject pParent, XsEAnnotation pAnnotation) throws SAXException ; 42 44 public XSAppinfo newXSAppinfo(XSObject pParent, XsEAppinfo pAppinfo); 45 47 public XSSimpleType newXSAtomicType(XSType pParent, XSType pRestrictedType, XsERestriction pRestriction) throws SAXException ; 48 50 public XSSimpleType newXSAtomicType(XSType pParent, XSType pRestrictedType, XsTSimpleRestrictionType pRestriction) throws SAXException ; 51 53 public XSAttribute newXSAttribute(XSObject pParent, XsTAttribute pAttribute) throws SAXException ; 54 56 public XSAttributeGroup newXSAttributeGroup(XSObject pParent, XsTAttributeGroup pGroup) throws SAXException ; 57 59 public XSDocumentation newXSDocumentation(XSObject pParent, XsEDocumentation pDocumentation) throws SAXException ; 60 62 public XSElement newXSElement(XSObject pParent, XsTElement pElement) throws SAXException ; 63 65 public XSEnumeration newXSEnumeration(XSObject pParent, XsEEnumeration pEnumeration) throws SAXException ; 66 68 public XSSimpleType newXSListType(XSType pParent, XsEList pList) throws SAXException ; 69 71 public XSSimpleType newXSListType(XSType pParent, XSType pRestrictedType, XsERestriction pRestriction) throws SAXException ; 72 74 public XSSimpleType newXSListType(XSType pParent, XSType pRestrictedType, XsTSimpleRestrictionType pRestriction) throws SAXException ; 75 77 public XSGroup newXSGroup(XSObject pParent, XsTNamedGroup pGroup) throws SAXException ; 78 80 public XSGroup newXSGroup(XSObject pParent, XsTAll pAll) throws SAXException ; 81 83 public XSGroup newXSGroup(XSObject pParent, XsTGroupRef pGroup) throws SAXException ; 84 86 public XSGroup newXSGroup(XSObject pParent, XsEChoice pChoice) throws SAXException ; 87 89 public XSGroup newXSGroup(XSObject pParent, XsESequence pSequence) throws SAXException ; 90 92 public XSType newXSType(XSObject pParent, XsETopLevelSimpleType pType) throws SAXException ; 93 95 public XSType newXSType(XSObject pParent, XsTComplexType pType) throws SAXException ; 96 98 public XSType newXSType(XSObject pParent, XsTLocalComplexType pType) throws SAXException ; 99 101 public XSType newXSType(XSObject pParent, XsTLocalSimpleType pType) throws SAXException ; 102 104 public XSType newXSType(XSObject pParent, XsTSimpleRestrictionType pType) throws SAXException ; 105 107 public XSNotation newXSNotation(XSObject pParent, XsENotation pType) throws SAXException ; 108 110 public XSSimpleContentType newXSSimpleContentType(XSType pComplexType, XSType pSimpleType, XsObject pBaseObject) throws SAXException ; 111 113 public XSSimpleType newXSUnionType(XSType pParent, XsEUnion pUnion) throws SAXException ; 114 116 public XSSimpleType newXSUnionType(XSType pParent, XSType pRestrictedType, XsERestriction pRestriction) throws SAXException ; 117 119 public XSSimpleType newXSUnionType(XSType pParent, XSType pRestrictedType, XsTSimpleRestrictionType pRestriction) throws SAXException ; 120 122 public XSWildcard newXSWildcard(XSObject pParent, XsTWildcard pWildcard) throws SAXException ; 123 125 public XSAny newXSAny(XSObject pParent, XsEAny pAny) throws SAXException ; 126 128 public XSKeyRef newXSKeyRef(XSElement pParent, XsEKeyref keyRef) throws SAXException ; 129 131 public XSIdentityConstraint newXSIdentityConstraint(XSElement pParent, 132 XsEUnique unique) throws SAXException ; 133 135 public XSIdentityConstraint newXSIdentityConstraint(XSElement pParent, 136 XsEKey key) throws SAXException ; 137 } 138 | Popular Tags |