TinyLine 2.5

com.tinyline.svg
Interface XMLHandler

All Known Implementing Classes:
SVGParser

public interface XMLHandler

The XML callbacks interface.

The interface is assumed to be synchronous and the input buffers are not copied.

Version:
1.9

Method Summary
 void attributeName(char[] buf, int offset, int len)
          Called by XMLParser when the current lexical unit is an XML attribute name.
 void attributeValue(char[] buf, int offset, int len)
          Called by XMLParser when the current lexical unit is an XML attribute value.
 void charData(char[] buf, int offset, int len)
          Called by XMLParser when the current lexical unit is an XML char data.
 void endDocument()
          Called by XMLParser when the current lexical unit is an XML document end element.
 void endElement()
          Called by XMLParser when the current lexical unit is an XML end element.
 void startDocument()
          Called by XMLParser when the current lexical unit is an XML document start element.
 void startElement(char[] buf, int offset, int len)
          Called by XMLParser when the current lexical unit is an XML start element.
 

Method Detail

attributeName

void attributeName(char[] buf,
                   int offset,
                   int len)
Called by XMLParser when the current lexical unit is an XML attribute name.

Parameters:
buf - the input buffer.
offset - the initial offset.
len - the length.

attributeValue

void attributeValue(char[] buf,
                    int offset,
                    int len)
Called by XMLParser when the current lexical unit is an XML attribute value.

Parameters:
buf - the input buffer.
offset - the initial offset.
len - the length.

charData

void charData(char[] buf,
              int offset,
              int len)
Called by XMLParser when the current lexical unit is an XML char data.

Parameters:
buf - the input buffer.
offset - the initial offset.
len - the length.

endDocument

void endDocument()
Called by XMLParser when the current lexical unit is an XML document end element.


endElement

void endElement()
Called by XMLParser when the current lexical unit is an XML end element.


startDocument

void startDocument()
Called by XMLParser when the current lexical unit is an XML document start element.


startElement

void startElement(char[] buf,
                  int offset,
                  int len)
Called by XMLParser when the current lexical unit is an XML start element.

Parameters:
buf - the input buffer.
offset - the initial offset.
len - the length.

TinyLine 2.5

Provided under the terms of the TinyLine License Agreement that has been included with this distribution.