org.milyn.xml
Class EclipseFragmentXMLValidator
java.lang.Object
org.milyn.xml.XsdValidator
org.milyn.xml.EclipseFragmentXMLValidator
public class EclipseFragmentXMLValidator
- extends XsdValidator
Eclipse XML Validator.
Uses the Eclipse based /fragment.xml schema resource files available on the classpath
to lookup the schema resources for given namespaces.
- Author:
- zubairov, tom.fennelly@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseFragmentXMLValidator
public EclipseFragmentXMLValidator()
throws IOException,
SAXException
- Throws:
IOException
SAXException
EclipseFragmentXMLValidator
public EclipseFragmentXMLValidator(SchemaFactory schemaFactory)
throws IOException,
SAXException
- Throws:
IOException
SAXException
setSchemaSourceResolver
public void setSchemaSourceResolver(LSResourceResolver schemaSourceResolver)
throws SAXException
- Overrides:
setSchemaSourceResolver in class XsdValidator
- Throws:
SAXException
setXSDSources
public void setXSDSources(Collection<Source> xsdSources)
throws SAXException
- Description copied from class:
XsdValidator
- Set the XSD/Schema Sources.
- Overrides:
setXSDSources in class XsdValidator
- Parameters:
xsdSources - The schema sources.
- Throws:
SAXException
Copyright © 2018. All rights reserved.