Class AbstractXMLValidator
- java.lang.Object
-
- org.fugerit.java.core.xml.helpers.AbstractXMLValidator
-
- All Implemented Interfaces:
XMLValidator
- Direct Known Subclasses:
XMLValidatorSAX
public abstract class AbstractXMLValidator extends Object implements XMLValidator
-
-
Constructor Summary
Constructors Constructor Description AbstractXMLValidator()
-
Method Summary
-
-
-
Method Detail
-
isValid
public boolean isValid(SAXParseResult result)
-
validateXML
public abstract boolean validateXML(InputSource source, SAXParseResult result) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public SAXParseResult validateXML(InputSource source) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
isValidaXML
public boolean isValidaXML(InputSource source) throws XMLException
- Specified by:
isValidaXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public boolean validateXML(Reader source, SAXParseResult result) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public SAXParseResult validateXML(Reader source) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
isValidaXML
public boolean isValidaXML(Reader source) throws XMLException
- Specified by:
isValidaXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public boolean validateXML(InputStream source, SAXParseResult result) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public SAXParseResult validateXML(InputStream source) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
isValidaXML
public boolean isValidaXML(InputStream source) throws XMLException
- Specified by:
isValidaXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public boolean validateXML(CharSequence source, SAXParseResult result) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public SAXParseResult validateXML(CharSequence source) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
isValidaXML
public boolean isValidaXML(CharSequence source) throws XMLException
- Specified by:
isValidaXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public boolean validateXML(String source, SAXParseResult result) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public SAXParseResult validateXML(String source) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
isValidaXML
public boolean isValidaXML(String source) throws XMLException
- Specified by:
isValidaXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public boolean validateXML(byte[] source, SAXParseResult result) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public SAXParseResult validateXML(byte[] source) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
isValidaXML
public boolean isValidaXML(byte[] source) throws XMLException
- Specified by:
isValidaXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public boolean validateXML(char[] source, SAXParseResult result) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
validateXML
public SAXParseResult validateXML(char[] source) throws XMLException
- Specified by:
validateXML
in interfaceXMLValidator
- Throws:
XMLException
-
isValidaXML
public boolean isValidaXML(char[] source) throws XMLException
- Specified by:
isValidaXML
in interfaceXMLValidator
- Throws:
XMLException
-
-