public class XMLUtils extends AbstractLogEnabled implements Component, Serviceable
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
XMLUtils.TxtHandler |
| Modifier and Type | Field and Description |
|---|---|
protected SAXParser |
_saxParser
The sax parser
|
static String |
ROLE
The avalon role
|
| Constructor and Description |
|---|
XMLUtils() |
| Modifier and Type | Method and Description |
|---|---|
void |
service(ServiceManager manager) |
String |
toString(InputStream is)
Get a XML as a string and extract the text only
|
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprotected SAXParser _saxParser
public XMLUtils()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic String toString(InputStream is)
is - The inputstream of XML