Package org.apache.juneau.marshall.xml
Interface RawContent
- All Known Implementing Classes:
RawText
public interface RawContent
Marker interface for objects whose
toString() value should be emitted verbatim as raw element
content by the XML and HTML serializers.
This is the re-serializable analogue of the raw Reader/InputStream path: the value is
appended as-is (no XML entity escaping, no String) it survives repeated serialization —
unlike a one-shot Reader which is consumed on first use.
Implementations are responsible for producing content that is safe for the target syntax. Notably, because Juneau
parses via a StAX XMLStreamReader, content containing a raw
See Also:
-
Method Summary