Package com.articulate.sigma
Class SimpleDOMParser
java.lang.Object
com.articulate.sigma.SimpleDOMParser
SimpleDOMParser is a highly-simplified XML DOM
parser.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringConvert reserved characters to ampersand character elements.static StringConvert ampersand character elements to reserved characters.static voidstatic SimpleElementRead the full path of an XML file and returns the SimpleElement object that corresponds to its parsed format.voidsetSkipProlog(boolean b)
-
Constructor Details
-
SimpleDOMParser
public SimpleDOMParser()
-
-
Method Details
-
setSkipProlog
public void setSkipProlog(boolean b) -
readFile
Read the full path of an XML file and returns the SimpleElement object that corresponds to its parsed format. -
parse
- Throws:
IOException
-
convertToReservedCharacters
Convert ampersand character elements to reserved characters. -
convertFromReservedCharacters
Convert reserved characters to ampersand character elements. -
main
-