com.ls.util.xml
Interface IXMLHandler
- All Known Implementing Classes:
- XMLHandler, XMLComplexHandler
- public interface IXMLHandler
Defines interfaces for parsing xml structures and accessing a Map view
on the them.
- Version:
- $Revision: 1.3 $
- Author:
- Last modified by $Author: MFehrenbach $
Method Summary |
Map |
parse(org.xml.sax.InputSource inputSource)
Parses a XML structure as read from the given InputSource and
returns a map view on it. |
Map |
parse(Reader readerSource)
Parses a XML structure as read from the given Reader and
returns a map view on it. |
Map |
parse(String stringSource)
Parses a XML structure as read from the given String and
returns a map view on it. |
parse
public Map parse(org.xml.sax.InputSource inputSource)
throws XMLException
- Parses a XML structure as read from the given
InputSource
and
returns a map view on it.
- Parameters:
inputSource
- the source from where to get the XML structure- Returns:
Map
- Throws:
XMLException
- if the parsing process fails
parse
public Map parse(Reader readerSource)
throws XMLException
- Parses a XML structure as read from the given
Reader
and
returns a map view on it.
- Parameters:
readerSource
- the source from where to get the XML structure- Returns:
Map
- Throws:
XMLException
- if the parsing process fails
parse
public Map parse(String stringSource)
throws XMLException
- Parses a XML structure as read from the given String and
returns a map view on it.
- Parameters:
stringSource
- the source from where to get the XML structure- Returns:
Map
- Throws:
XMLException
- if the parsing process fails