|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.TG_distributome.editor.XmlValidator
public class XmlValidator
Class that validates an XML encoded stream using an XSD.
Constructor Summary | |
---|---|
XmlValidator()
Constructs an XML Validator. |
Method Summary | |
---|---|
void |
error(org.xml.sax.SAXParseException e)
Receives notification of a recoverable parser error. |
void |
fatalError(org.xml.sax.SAXParseException e)
Receives notification of a non-recoverable parser error. |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Resolves access to external entities. |
java.lang.String |
validate(java.io.InputStream xmlStream)
Validates the encoded XML in the input stream. |
void |
warning(org.xml.sax.SAXParseException e)
Receives notification of a parser warning. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlValidator()
Method Detail |
---|
public java.lang.String validate(java.io.InputStream xmlStream)
xmlStream
- Encoded XML.
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
resolveEntity
in interface org.xml.sax.EntityResolver
publicId
- Public identifier of the external entity being
referenced, or null if none was supplied.systemId
- System identifier of the external entity being
referenced.
public void warning(org.xml.sax.SAXParseException e)
warning
in interface org.xml.sax.ErrorHandler
e
- Exception resulting from the warning.public void error(org.xml.sax.SAXParseException e)
error
in interface org.xml.sax.ErrorHandler
e
- Exception resulting from the recoverable error.public void fatalError(org.xml.sax.SAXParseException e)
fatalError
in interface org.xml.sax.ErrorHandler
e
- Exception resulting from the non-recoverable error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |