public static final class

SchemaGrammar.Schema4Annotations

extends SchemaGrammar
java.lang.Object
   ↳ org.apache.xerces.impl.xs.SchemaGrammar
     ↳ org.apache.xerces.impl.xs.SchemaGrammar.Schema4Annotations

Class Overview

A partial schema for schemas for validating annotations.

Summary

[Expand]
Inherited Fields
From class org.apache.xerces.impl.xs.SchemaGrammar
Public Constructors
SchemaGrammar.Schema4Annotations()
Special constructor to create a schema capable of validating annotations.
Public Methods
void addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator)
add one complex type decl: for later constraint checking
synchronized void addDocument(Object document, String location)
void addGlobalAttributeDecl(XSAttributeDecl decl)
register one global attribute
void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
register one global attribute group
void addGlobalElementDecl(XSElementDecl decl)
register one global element
void addGlobalGroupDecl(XSGroupDecl decl)
register one global group
void addGlobalNotationDecl(XSNotationDecl decl)
register one global notation
void addGlobalTypeDecl(XSTypeDefinition decl)
register one global type
void addRedefinedGroupDecl(XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator)
add a group redefined by restriction: for later constraint checking
XMLGrammarDescription getGrammarDescription()
get the XMLGrammarDescription associated with this object
void setImportedGrammars(Vector importedGrammars)
[Expand]
Inherited Methods
From class org.apache.xerces.impl.xs.SchemaGrammar
From class java.lang.Object
From interface org.apache.xerces.xni.grammars.Grammar
From interface org.apache.xerces.xni.grammars.XSGrammar
From interface org.apache.xerces.xs.XSNamespaceItem

Public Constructors

public SchemaGrammar.Schema4Annotations ()

Special constructor to create a schema capable of validating annotations.

Public Methods

public void addComplexTypeDecl (XSComplexTypeDecl decl, SimpleLocator locator)

add one complex type decl: for later constraint checking

public synchronized void addDocument (Object document, String location)

public void addGlobalAttributeDecl (XSAttributeDecl decl)

register one global attribute

public void addGlobalAttributeGroupDecl (XSAttributeGroupDecl decl)

register one global attribute group

public void addGlobalElementDecl (XSElementDecl decl)

register one global element

public void addGlobalGroupDecl (XSGroupDecl decl)

register one global group

public void addGlobalNotationDecl (XSNotationDecl decl)

register one global notation

public void addGlobalTypeDecl (XSTypeDefinition decl)

register one global type

public void addRedefinedGroupDecl (XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator)

add a group redefined by restriction: for later constraint checking

public XMLGrammarDescription getGrammarDescription ()

get the XMLGrammarDescription associated with this object

public void setImportedGrammars (Vector importedGrammars)