public class SimpleDOMParser extends Object
SimpleDOMParser is a highly-simplified XML DOM
parser.| Constructor and Description |
|---|
SimpleDOMParser() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertFromReservedCharacters(String input)
Convert reserved characters to ampersand character elements.
|
static String |
convertToReservedCharacters(String input)
Convert ampersand character elements to reserved characters.
|
static void |
main(String[] args) |
SimpleElement |
parse(Reader reader) |
static SimpleElement |
readFile(String filename)
Read the full path of an XML file and returns the SimpleElement
object that corresponds to its parsed format.
|
public static SimpleElement readFile(String filename)
public SimpleElement parse(Reader reader) throws IOException
IOExceptionpublic static String convertToReservedCharacters(String input)
public static String convertFromReservedCharacters(String input)
public static void main(String[] args)
Copyright © 2015. All rights reserved.