Top Description Fields Constructors Methods
org.apache.xerces.jaxp.validation

pack-priv final Class XMLSchema

extends AbstractXMLSchema
Class Inheritance
Imports
org.apache.xerces.xni.grammars.XMLGrammarPool

Implementation of Schema for W3C XML Schemas.

Author
Michael Glavassevich, IBM
Version
$Id: XMLSchema.java 447235 2006-09-18 05:01:44Z mrglavas $

Field Summary

Modifier and TypeField and Description
private final boolean
fFullyComposed

Whether to consider this schema to be fully composed

private final XMLGrammarPool
fGrammarPool

The grammar pool is immutable

Constructor Summary

AccessConstructor and Description
public
XMLSchema(XMLGrammarPool grammarPool)

Constructors

public
XMLSchema(XMLGrammarPool grammarPool, boolean fullyComposed)

Method Summary

Modifier and TypeMethod and Description
public XMLGrammarPool

Returns:

the grammar pool contained inside the container
getGrammarPool
()

Implements org.apache.xerces.jaxp.validation.XSGrammarPoolContainer.getGrammarPool.

Returns the grammar pool contained inside the container.

public boolean

Returns:

whether the schema components contained in this object can be considered to be a fully composed schema
isFullyComposed
()

Implements org.apache.xerces.jaxp.validation.XSGrammarPoolContainer.isFullyComposed.

Returns whether the schema components contained in this object can be considered to be a fully composed schema and should be used to exclusion of other schema components which may be present elsewhere.

Inherited from org.apache.xerces.jaxp.validation.AbstractXMLSchema:
getFeaturenewValidatornewValidatorHandlersetFeature

Field Detail

fFullyComposedback to summary
private final boolean fFullyComposed

Whether to consider this schema to be fully composed

fGrammarPoolback to summary
private final XMLGrammarPool fGrammarPool

The grammar pool is immutable

Constructor Detail

XMLSchemaback to summary
public XMLSchema(XMLGrammarPool grammarPool)

Constructors

XMLSchemaback to summary
public XMLSchema(XMLGrammarPool grammarPool, boolean fullyComposed)

Method Detail

getGrammarPoolback to summary
public XMLGrammarPool getGrammarPool()

Implements org.apache.xerces.jaxp.validation.XSGrammarPoolContainer.getGrammarPool.

Returns the grammar pool contained inside the container.

Returns:XMLGrammarPool

the grammar pool contained inside the container

isFullyComposedback to summary
public boolean isFullyComposed()

Implements org.apache.xerces.jaxp.validation.XSGrammarPoolContainer.isFullyComposed.

Returns whether the schema components contained in this object can be considered to be a fully composed schema and should be used to exclusion of other schema components which may be present elsewhere.

Returns:boolean

whether the schema components contained in this object can be considered to be a fully composed schema