APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.jaxp.validation

pack-priv final Class XMLSchema

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

Implementation of Schema for W3C XML Schemas.

Author
Michael Glavassevich, IBM

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)

Constructor

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 com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.jaxp.validation.AbstractXMLSchema:
getFeaturegetPropertynewValidatornewValidatorHandlersetFeaturesetProperty

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)

Constructor

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

Method Detail

getGrammarPoolback to summary
public XMLGrammarPool getGrammarPool()

Implements com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.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