org.apache.batik.dom.util
Class XMLSupport
public final
class
XMLSupport
extends Object
implements XMLConstants
This class provides support for XML features.
Method Summary |
static String | defaultXMLSpace(String data)
Strips the white spaces in the given string according to the xml:space
attribute recommended behaviour when it has the 'default' value. |
static String | getXMLLang(Element elt)
Returns the xml:lang attribute value of the given element. |
static String | getXMLSpace(Element elt)
Returns the xml:space attribute value of the given element. |
static String | preserveXMLSpace(String data)
Strips the white spaces in the given string according to the xml:space
attribute recommended behaviour when it has the 'preserve' value. |
public static String defaultXMLSpace(String data)
Strips the white spaces in the given string according to the xml:space
attribute recommended behaviour when it has the 'default' value.
public static String getXMLLang(Element elt)
Returns the xml:lang attribute value of the given element.
public static String getXMLSpace(Element elt)
Returns the xml:space attribute value of the given element.
public static String preserveXMLSpace(String data)
Strips the white spaces in the given string according to the xml:space
attribute recommended behaviour when it has the 'preserve' value.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.