|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.test.comp.XmlUtility
class XmlUtility
XML utility methods.
| Nested Class Summary | |
|---|---|
static class |
XmlUtility.UtilityErrorHandler
|
| Field Summary | |
|---|---|
(package private) static Pattern |
WhitespacePattern
|
| Constructor Summary | |
|---|---|
XmlUtility()
|
|
| Method Summary | |
|---|---|
static DocumentBuilder |
createDomParser(boolean validate,
boolean ignoreIgnorableWhitespace,
boolean usingSchema,
ErrorHandler handler)
|
static String |
decodeEncodedString(String enc)
|
static Document |
getDocument(File file)
|
static void |
save(Writer writer,
Document document)
|
static void |
stripWhitespace(Element element)
|
static String |
toString(Element xmlRoot)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final Pattern WhitespacePattern
| Constructor Detail |
|---|
XmlUtility()
| Method Detail |
|---|
public static DocumentBuilder createDomParser(boolean validate,
boolean ignoreIgnorableWhitespace,
boolean usingSchema,
ErrorHandler handler)
public static Document getDocument(File file)
throws IOException,
SAXException
IOException
SAXException
public static void save(Writer writer,
Document document)
throws IOException
IOExceptionpublic static String decodeEncodedString(String enc)
public static void stripWhitespace(Element element)
public static String toString(Element xmlRoot)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||