TinyLine
v2.0

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

Author:
Andrew Girow

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

startDocument

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


endDocument

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


startElement

public 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.

endElement

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


attributeName

public 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

public 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

public 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.

TinyLine
v2.0

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