1 22 23 package org.xquark.schema; 24 25 import java.util.Collection ; 26 27 public interface SchemaScope { 28 public boolean isGlobalScope(); 29 public void register(ElementDeclaration decl) throws SchemaException; 30 public void register(AttributeDeclaration decl) throws SchemaException; 31 public ElementDeclaration getElementDeclaration(String namespace, String name); 32 public Collection getElementDeclarations(); 33 public AttributeDeclaration getAttributeDeclaration(String namespace, String name); 34 public Collection getAttributeDeclarations(); 35 } 36 | Popular Tags |