Constructor and Description |
---|
AbstractExtension() |
Modifier and Type | Method and Description |
---|---|
abstract void |
writeTo(@NotNull javax.xml.stream.XMLStreamWriter writer)
Implementations must write their content to the given
XMLStreamWriter . |
public abstract void writeTo(@NotNull @NotNull javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
XMLStreamWriter
.
The extension must not open/close its own surrounding tag. This is done by the caller in order to guarantee
proper isolation between the core implementation and the extensions. Furthermore, when an extension fails and
throws an XMLStreamException
the extensions output will be discarded but the sitemap generation will not fail.
writer
- javax.xml.stream.XMLStreamException
Copyright © 2010 - 2023 Adobe. All Rights Reserved