org.apache.xerces.impl.xs

Class SchemaGrammar.Schema4Annotations

public static final class SchemaGrammar.Schema4Annotations extends SchemaGrammar

A partial schema for schemas for validating annotations.

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.

Author: Michael Glavassevich, IBM

Constructor Summary
Schema4Annotations()
Special constructor to create a schema capable of validating annotations.
Method Summary
voidaddComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator)
voidaddDocument(Object document, String location)
voidaddGlobalAttributeDecl(XSAttributeDecl decl)
voidaddGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
voidaddGlobalElementDecl(XSElementDecl decl)
voidaddGlobalGroupDecl(XSGroupDecl decl)
voidaddGlobalNotationDecl(XSNotationDecl decl)
voidaddGlobalTypeDecl(XSTypeDefinition decl)
voidaddRedefinedGroupDecl(XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator)
XMLGrammarDescriptiongetGrammarDescription()
voidsetImportedGrammars(Vector importedGrammars)

Constructor Detail

Schema4Annotations

public Schema4Annotations()
Special constructor to create a schema capable of validating annotations.

Method Detail

addComplexTypeDecl

public void addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator)

addDocument

public void addDocument(Object document, String location)

addGlobalAttributeDecl

public void addGlobalAttributeDecl(XSAttributeDecl decl)

addGlobalAttributeGroupDecl

public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)

addGlobalElementDecl

public void addGlobalElementDecl(XSElementDecl decl)

addGlobalGroupDecl

public void addGlobalGroupDecl(XSGroupDecl decl)

addGlobalNotationDecl

public void addGlobalNotationDecl(XSNotationDecl decl)

addGlobalTypeDecl

public void addGlobalTypeDecl(XSTypeDefinition decl)

addRedefinedGroupDecl

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

getGrammarDescription

public XMLGrammarDescription getGrammarDescription()

setImportedGrammars

public void setImportedGrammars(Vector importedGrammars)
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.