Klasse XmlUtil
java.lang.Object
org.apache.sling.commons.log.logback.internal.util.XmlUtil
Utilities to help processing XML
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic @Nullable String
Escape the special characters of the input to be safe as an xml stringstatic @NotNull String
prettyPrint
(@NotNull InputSource is) Return a pretty string representation of the xml supplied
-
Methodendetails
-
prettyPrint
Return a pretty string representation of the xml supplied- Parameter:
is
- the source for the xml content- Gibt zurück:
- the pretty formatted xml
-
escapeXml
Escape the special characters of the input to be safe as an xml string- Parameter:
input
- the input to process- Gibt zurück:
- the input with the xml special characters replaced with entities
-