1 17 package org.apache.ws.jaxme.xs; 18 19 import java.util.Map ; 20 21 import org.apache.ws.jaxme.xs.parser.XSContext; 22 import org.apache.ws.jaxme.xs.xml.XsAnyURI; 23 import org.apache.ws.jaxme.xs.xml.XsQName; 24 import org.xml.sax.SAXException ; 25 26 31 public interface XSSchema extends XSOpenAttrs { 32 34 public XSObjectFactory getXSObjectFactory(); 35 36 38 public XSContext getContext(); 39 40 49 public XsAnyURI getTargetNamespace(); 50 51 53 public XSAnnotation[] getAnnotations(); 54 55 59 public XSType[] getTypes(); 60 61 65 public XSType[] getBuiltinTypes(); 66 67 70 public XSType getType(XsQName pName); 71 72 74 public XSGroup[] getGroups(); 75 76 78 public XSGroup getGroup(XsQName pName); 79 80 82 public XSAttributeGroup[] getAttributeGroups(); 83 84 86 public XSAttributeGroup getAttributeGroup(XsQName pName); 87 88 90 public XSElement[] getElements(); 91 92 94 public XSElement getElement(XsQName pName); 95 96 98 public XSAttribute[] getAttributes(); 99 100 102 public XSAttribute getAttribute(XsQName pName); 103 104 107 public Map getIdentityConstraints(); 108 109 112 public Map getKeyRefs(); 113 114 118 public Object [] getChilds(); 119 120 122 public void add(XSAnnotation pAnnotation); 123 124 126 public void add(XSType pType) throws SAXException ; 127 128 130 public void redefine(XSType pType) throws SAXException ; 131 132 134 public void add(XSGroup pGroup) throws SAXException ; 135 136 138 public void redefine(XSGroup pGroup) throws SAXException ; 139 140 142 public void add(XSAttributeGroup pGroup) throws SAXException ; 143 144 146 public void redefine(XSAttributeGroup pGroup) throws SAXException ; 147 148 150 public void add(XSAttribute pAttribute) throws SAXException ; 151 152 154 public void add(XSElement pElement) throws SAXException ; 155 156 158 public void add(XSNotation pNotation) throws SAXException ; 159 160 162 public void add( XSIdentityConstraint ic ) throws SAXException ; 163 164 166 public void add( XSKeyRef rf ) throws SAXException ; 167 } 168 | Popular Tags |