|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.generationjava.io.xml.DelegatingXmlWriter
com.generationjava.io.xml.JarvWriter
public class JarvWriter
Validates the written XML against a DTD or XML Schema using the iso_relax/jarv library.
| Constructor Summary | |
|---|---|
JarvWriter(XmlWriter writer,
org.iso_relax.verifier.VerifierHandler verifierHandler)
|
|
| Method Summary | |
|---|---|
void |
close()
Close this writer. |
XmlWriter |
endEntity()
End the current entity. |
void |
error(SAXParseException spe)
|
void |
fatalError(SAXParseException spe)
|
void |
warning(SAXParseException spe)
|
XmlWriter |
writeAttribute(String attr,
Object value)
Write an attribute out for the current entity. |
XmlWriter |
writeEntity(String name)
Begin to write out an entity. |
XmlWriter |
writeText(Object text)
Output body text. |
| Methods inherited from class com.generationjava.io.xml.DelegatingXmlWriter |
|---|
getWriter, writeCData, writeComment, writeEmptyEntity, writeEntityWithText, writeXmlVersion, writeXmlVersion, writeXmlVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JarvWriter(XmlWriter writer,
org.iso_relax.verifier.VerifierHandler verifierHandler)
throws IOException
IOException| Method Detail |
|---|
public XmlWriter writeEntity(String name)
throws IOException
DelegatingXmlWriter
writeEntity in interface XmlWriterwriteEntity in class DelegatingXmlWritername - String name of tag
IOException
public XmlWriter endEntity()
throws IOException
DelegatingXmlWriter
endEntity in interface XmlWriterendEntity in class DelegatingXmlWriterIOException
public XmlWriter writeAttribute(String attr,
Object value)
throws IOException
DelegatingXmlWriter
writeAttribute in interface XmlWriterwriteAttribute in class DelegatingXmlWriterIOException
public XmlWriter writeText(Object text)
throws IOException
DelegatingXmlWriter
writeText in interface XmlWriterwriteText in class DelegatingXmlWriterIOExceptionpublic void error(SAXParseException spe)
error in interface ErrorHandlerpublic void fatalError(SAXParseException spe)
fatalError in interface ErrorHandlerpublic void warning(SAXParseException spe)
warning in interface ErrorHandler
public void close()
throws IOException
DelegatingXmlWriter
close in interface XmlWriterclose in class DelegatingXmlWriterIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||