public class SimpleXmlClaimReporter extends AbstractReport
| Constructor and Description |
|---|
SimpleXmlClaimReporter(IXmlWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
endReport() |
void |
report(Document subject) |
void |
startReport() |
protected void |
writeClaim(String pPredicate,
String pObject,
boolean pLiteral)
Writes a single claim to the XML file.
|
public SimpleXmlClaimReporter(IXmlWriter writer)
protected void writeClaim(String pPredicate, String pObject, boolean pLiteral) throws IOException, RatException
pPredicate - The claims predicate.pObject - The claims object.pLiteral - Whether to write the object as an element (true),
or an attribute (false).IOException - An I/O error occurred while writing the claim.RatException - Another error occurred while writing the claim.public void report(Document subject) throws RatException
report in interface RatReportreport in class AbstractReportRatExceptionpublic void startReport()
throws RatException
startReport in interface RatReportstartReport in class AbstractReportRatExceptionpublic void endReport()
throws RatException
endReport in interface RatReportendReport in class AbstractReportRatExceptionCopyright © 2006–2025 Apache Software Foundation. All rights reserved.