1 19 20 package org.netbeans.modules.xml.schema.model; 21 import java.util.Collection ; 22 import org.netbeans.modules.xml.xam.NamedReferenceable; 23 import org.netbeans.modules.xml.xam.Referenceable; 24 import org.netbeans.modules.xml.xam.dom.DocumentModel; 25 26 31 public interface SchemaModel extends DocumentModel<SchemaComponent>, Referenceable { 32 33 39 Schema getSchema(); 40 41 54 String getEffectiveNamespace(SchemaComponent component); 55 56 59 SchemaComponentFactory getFactory(); 60 61 70 Collection <Schema> findSchemas(String namespaceURI); 71 72 79 <T extends NamedReferenceable> T findByNameAndType(String localName, Class <T> type); 80 81 87 <T extends NamedReferenceable> T resolve(String namespace, String localName, Class <T> type); 88 } 89 | Popular Tags |