| java.lang.Object org.apache.ivy.util.XMLHelper
XMLHelper | abstract public class XMLHelper (Code) | | |
JAXP_SCHEMA_LANGUAGE | final static String JAXP_SCHEMA_LANGUAGE(Code) | | |
JAXP_SCHEMA_SOURCE | final static String JAXP_SCHEMA_SOURCE(Code) | | |
XML_NAMESPACE_PREFIXES | final static String XML_NAMESPACE_PREFIXES(Code) | | |
canUseSchemaValidation | public static boolean canUseSchemaValidation()(Code) | | |
escape | public static String escape(String text)(Code) | | Escapes invalid XML characters in the given character data using XML entities.
For the moment, only the following characters are being escaped: (<), (&), (')
and (").
Remark: we don't escape the (>) character to keep the readability of the
configuration mapping! The XML spec only requires that the (&) and (<)
characters are being escaped inside character data.
Parameters: text - the character data to escape the escaped character data |
|
|