Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## fr.gouv.culture.sdx.utils.xml
Class Utils

    java.lang.Object
      fr.gouv.culture.sdx.utils.xml.Utils

    public class Utils

extends java.lang.Object

Constructor Summary
`Utils()`

Method Summary
`static java.lang.String` | `escapeXMLCharacters(java.lang.String content)` Parses a text and escapes '<', '&' chars with corresponding entities.
`static java.lang.String` | `escapeXMLEntities(java.lang.String content)` Parses a text and escapes '<', '&', '<', '&' chars with corresponding entities.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Utils

    public Utils()

Method Detail

### escapeXMLCharacters

    public static java.lang.String escapeXMLCharacters(java.lang.String content)

  Parses a text and escapes '<', '&' chars with corresponding entities.

  Parameters:
    `content` - The String to work
  Returns:

### escapeXMLEntities

    public static java.lang.String escapeXMLEntities(java.lang.String content)

  Parses a text and escapes '<', '&', '<', '&' chars with corresponding entities.

  Parameters:
    `content` - The String to work
  Returns:

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.