Class Events
- All Implemented Interfaces:
Appendable<Events>
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentWriter<Events> createDocumentWriter(NamespaceRegistry namespaceRegistry, Path xmlFile) Create a newDocumentWriterfor the event-based reporting format.Methods inherited from class Element
append, toString, withAttribute, withCDataSection, withContentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Appendable
append
-
Method Details
-
createDocumentWriter
public static DocumentWriter<Events> createDocumentWriter(NamespaceRegistry namespaceRegistry, Path xmlFile) throws Exception Create a newDocumentWriterfor the event-based reporting format.- Parameters:
namespaceRegistry- the namespace registry to usexmlFile- the file to write to- Returns:
- the new
DocumentWriter - Throws:
Exception- if an error initializing the XML writing infrastructure or writing to the XML file occurs
-