Top Description Fields Constructors Methods
com.sun.msv.verifier.jarv

public Class RELAXNGFactoryImpl

extends FactoryImpl
Class Inheritance
Imports
org.relaxng.datatype.DatatypeLibraryFactory, org.xml.sax.InputSource, .SAXNotRecognizedException, .SAXNotSupportedException, com.sun.msv.grammar.Grammar, com.sun.msv.reader.GrammarReaderController, com.sun.msv.reader.trex.ng.RELAXNGReader

VerifierFactory implementation of RELAX NG. This implementation supports the "datatypeLibraryFactory" property which configures RELAX NG parser with a datatype library factory.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
private DatatypeLibraryFactory
private static final String
Inherited from com.sun.msv.verifier.jarv.FactoryImpl:
factory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
getProperty(String
property name
name
)

Overrides org.iso_relax.verifier.VerifierFactory.getProperty.

Gets property value
protected Grammar
parse(InputSource is, GrammarReaderController controller)

Implements abstract com.sun.msv.verifier.jarv.FactoryImpl.parse.

parses a Grammar from the specified source.
public void
setProperty(String
property name
name
,
Object
property value
value
)

Overrides org.iso_relax.verifier.VerifierFactory.setProperty.

Sets property value
Inherited from com.sun.msv.verifier.jarv.FactoryImpl:
compileSchemacreateVerifiergetEntityResolverisFeaturesetEntityResolversetFeature

Field Detail

datatypeLibraryFactoryback to summary
private DatatypeLibraryFactory datatypeLibraryFactory
PROP_NAMEback to summary
private static final String PROP_NAME

Constructor Detail

RELAXNGFactoryImplback to summary
public RELAXNGFactoryImpl()

Method Detail

getPropertyback to summary
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException

Overrides org.iso_relax.verifier.VerifierFactory.getProperty.

Doc from org.iso_relax.verifier.VerifierFactory.getProperty.

Gets property value

Parameters
name:String

property name

parseback to summary
protected Grammar parse(InputSource is, GrammarReaderController controller)

Implements abstract com.sun.msv.verifier.jarv.FactoryImpl.parse.

Doc from com.sun.msv.verifier.jarv.FactoryImpl.parse.

parses a Grammar from the specified source. return null if an error happens.

setPropertyback to summary
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException

Overrides org.iso_relax.verifier.VerifierFactory.setProperty.

Doc from org.iso_relax.verifier.VerifierFactory.setProperty.

Sets property value

Parameters
name:String

property name

value:Object

property value