1 12 13 package com.sun.org.apache.xerces.internal.dom3.as; 14 15 import org.w3c.dom.DOMException ; 16 17 39 public interface ASModel extends ASObject { 40 46 public boolean getIsNamespaceAware(); 47 48 53 public short getUsageLocation(); 54 55 58 public String getAsLocation(); 59 62 public void setAsLocation(String asLocation); 63 64 67 public String getAsHint(); 68 71 public void setAsHint(String asHint); 72 73 80 public ASNamedObjectMap getElementDeclarations(); 81 82 89 public ASNamedObjectMap getAttributeDeclarations(); 90 91 98 public ASNamedObjectMap getNotationDeclarations(); 99 100 107 public ASNamedObjectMap getEntityDeclarations(); 108 109 116 public ASNamedObjectMap getContentModelDeclarations(); 117 118 123 public void addASModel(ASModel abstractSchema); 124 125 129 public ASObjectList getASModels(); 130 131 136 public void removeAS(ASModel as); 137 138 144 public boolean validate(); 145 146 162 public ASElementDeclaration createASElementDeclaration(String namespaceURI, 163 String name) 164 throws DOMException ; 165 166 178 public ASAttributeDeclaration createASAttributeDeclaration(String namespaceURI, 179 String name) 180 throws DOMException ; 181 182 198 public ASNotationDeclaration createASNotationDeclaration(String namespaceURI, 199 String name, 200 String systemId, 201 String publicId) 202 throws DOMException ; 203 204 213 public ASEntityDeclaration createASEntityDeclaration(String name) 214 throws DOMException ; 215 216 230 public ASContentModel createASContentModel(int minOccurs, 231 int maxOccurs, 232 short operator) 233 throws DOMASException; 234 235 } 236 | Popular Tags |