Uses of Interface
org.jdom2.output.EscapeStrategy
Packages that use EscapeStrategy
Package
Description
Classes to output JDOM documents to various destinations.
Classes used to implement output functionality that are not part of the
actual Output API, but rather part of the implementation.
-
Uses of EscapeStrategy in org.jdom2.output
Methods in org.jdom2.output that return EscapeStrategyMethods in org.jdom2.output with parameters of type EscapeStrategyModifier and TypeMethodDescriptionstatic final String
Format.escapeAttribute
(EscapeStrategy strategy, String value) This will take the three pre-defined entities in XML 1.0 ('<', '>', and '&' - used specifically in XML elements) as well as CR/NL, tabs, and Quote characters which require escaping inside Attribute values and converts their character representation to the appropriate entity reference suitable for XML attribute content.static final String
Format.escapeText
(EscapeStrategy strategy, String eol, String value) This will take the three pre-defined entities in XML 1.0 ('<', '>', and '&' - used specifically in XML elements) and convert their character representation to the appropriate entity reference, suitable for XML element content.Format.setEscapeStrategy
(EscapeStrategy strategy) Sets theEscapeStrategy
to use for character escaping. -
Uses of EscapeStrategy in org.jdom2.output.support
Methods in org.jdom2.output.support that return EscapeStrategy