public class XmlRetainingSinkWithDeletion extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
excludeNextElement |
private List<XMLEvent> |
retainedElements |
private XMLEventWriter |
xmlWriter |
Constructor and Description |
---|
XmlRetainingSinkWithDeletion(XMLEventWriter xmlWriter) |
Modifier and Type | Method and Description |
---|---|
void |
add(XMLEvent event) |
void |
addDespiteRetainment(XMLEvent event) |
boolean |
isRetaining() |
void |
startRetaining() |
void |
stopRetaining() |
private final XMLEventWriter xmlWriter
private boolean excludeNextElement
public XmlRetainingSinkWithDeletion(XMLEventWriter xmlWriter)
public void add(XMLEvent event) throws XMLStreamException
XMLStreamException
public void startRetaining()
public void addDespiteRetainment(XMLEvent event) throws XMLStreamException
XMLStreamException
public void stopRetaining() throws XMLStreamException
XMLStreamException
public boolean isRetaining()
Copyright © 2022 Requirement Yogi. All rights reserved.