com.generationjava.io.xml
Class XmlUtils
java.lang.Object
com.generationjava.io.xml.XmlUtils
public final class XmlUtils
- extends Object
XML helping static methods.
- Version:
- 1.0
- Author:
- Henri Yandell
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlUtils
public XmlUtils()
escapeXml
public static String escapeXml(String str)
unescapeXml
public static String unescapeXml(String str)
removeXml
public static String removeXml(String str)
- Remove any xml tags from a String.
Same as HtmlW's method.
getContent
public static String getContent(String tag,
String text)
getIndexOpeningTag
public static int getIndexOpeningTag(String tag,
String text)
getIndexClosingTag
public static int getIndexClosingTag(String tag,
String text)
getIndexClosingTag
public static int getIndexClosingTag(String tag,
String text,
int start)
getAttribute
public static String getAttribute(String attribute,
String text)
getAttribute
public static String getAttribute(String attribute,
String text,
int idx)
Copyright © 2000-2007 OSJava. All Rights Reserved.