01: /*
02: * Schema.java
03: *
04: * Created on October 2, 2006, 3:25 PM
05: *
06: * To change this template, choose Tools | Template Manager
07: * and open the template in the editor.
08: */
09:
10: package org.netbeans.modules.e2e.api.schema;
11:
12: import java.util.Set;
13: import javax.xml.namespace.QName;
14:
15: /**
16: *
17: * @author Michal Skvor
18: */
19: public interface SchemaHolder {
20:
21: public void addSchemaType(Type type);
22:
23: public Type getSchemaType(QName name);
24:
25: public Set<Type> getSchemaTypes();
26:
27: public void addSchemaElement(Element element);
28:
29: public Element getSchemaElement(QName name);
30:
31: public Set<Element> getSchemaElements();
32:
33: public void importSchema(SchemaHolder schemaHolder);
34: }
|