Class XML
java.lang.Object
com.dalsemi.onewire.application.tag.XML
XML services.
This class provides several XML utility functions.
-
Constructor Details
-
XML
public XML()
-
-
Method Details
-
createSAXParser
Create a SAX parser.- Returns:
- A new SAX parser.
-
escape
Escape special characters in the given string. This method takes a string and escapes special characters so it can be used as the text content of an element or as an attribute value. For example, the ampersand & becomes &.- Parameters:
source
- The string to escape- Returns:
- The escaped string.
-