com.thaiopensource.validate.mns
Class SchemaReceiverImpl
java.lang.Object
com.thaiopensource.validate.mns.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 |
MNS_SCHEMA
private static final String MNS_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
attributeSchemaProperties
private final PropertyMap attributeSchemaProperties
attributesSchema
private final boolean attributesSchema
autoSchemaLanguage
private final SchemaReader autoSchemaLanguage
mnsSchema
private Schema mnsSchema
SchemaReceiverImpl
public SchemaReceiverImpl(PropertyMap properties)
installHandlers
public SchemaFuture installHandlers(XMLReader xr)
- Specified by:
installHandlers
in interface SchemaReceiver
getMnsSchema
Schema getMnsSchema()
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,
boolean isAttributesSchema)
throws IOException,
IncorrectSchemaException,
SAXException
- Throws:
IOException
IncorrectSchemaException
SAXException
isRnc
private static boolean isRnc(String schemaType)