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 ServiceManager |
_manager
Avalon service manager
|
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, setupLogger
protected ServiceManager _manager
public XMLUtils()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public String toString(InputStream is)
is
- The inputstream of XML