Dallas Semiconductor 1-Wire API 1.00 Alpha: Class XML

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.dalsemi.onewire.application.tag
Class XML

    java.lang.Object
      |
      +--com.dalsemi.onewire.application.tag.XML

public class XML
extends Object

XML services. This class provides several XML utility functions.

Constructor Summary
`XML()`

Method Summary
`static SAXParser` | `createSAXParser()` Create a SAX parser.
`static String` | `escape(String source)` Escape special characters in the given string.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XML

    public XML()

Method Detail

### createSAXParser

    public static SAXParser createSAXParser()

  Create a SAX parser.
  Returns:
    A new SAX parser.

### escape

    public static String escape(String source)

  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 &amp;.
  Parameters:
    `source` - The string to escape
  Returns:
    The escaped string.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD