com.thaiopensource.validate.nrl
Class SchemaReceiverImpl
java.lang.Object
com.thaiopensource.validate.nrl.SchemaReceiverImpl
- All Implemented Interfaces:
- SchemaReceiver
class SchemaReceiverImpl
- extends Object
- implements SchemaReceiver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NRL_SCHEMA
private static final String NRL_SCHEMA
- See Also:
- Constant Field Values
RNC_MEDIA_TYPE
private static final String RNC_MEDIA_TYPE
- See Also:
- Constant Field Values
properties
private final PropertyMap properties
attributesSchema
private final boolean attributesSchema
autoSchemaReader
private final SchemaReader autoSchemaReader
nrlSchema
private Schema nrlSchema
subSchemaProperties
private static final PropertyId[] subSchemaProperties
SchemaReceiverImpl
public SchemaReceiverImpl(PropertyMap properties)
installHandlers
public SchemaFuture installHandlers(XMLReader xr)
- Specified by:
installHandlers
in interface SchemaReceiver
getNrlSchema
Schema getNrlSchema()
throws IOException,
IncorrectSchemaException,
SAXException
- Throws:
IOException
IncorrectSchemaException
SAXException
getResource
private static URL getResource(String resourceName)
getProperties
PropertyMap getProperties()
createChildSchema
Schema createChildSchema(InputSource inputSource,
String schemaType,
PropertyMap options,
boolean isAttributesSchema)
throws IOException,
IncorrectSchemaException,
SAXException
- Throws:
IOException
IncorrectSchemaException
SAXException
getOption
Option getOption(String uri)
isRnc
private static boolean isRnc(String schemaType)