: Interface myoPyx.Listener

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

## Interface myoPyx.Listener

Enclosing class:
  myoPyx

public static interface myoPyx.Listener

Implement this to create an object that can listen to myoPyx events.

Method Summary
`void` | `endElement(java.lang.String tag_name)` Called when the end tag for an element is encountered.
`void` | `startElement(java.lang.String tag_name, java.util.HashMap attributes)` Called after the start tag is encountered, after the attributes have been processed, and before any text, PI's or other elements are processed.
`void` | `text(java.lang.String text)` Called when a text node is encountered.

Method Detail

### startElement

    public void startElement(java.lang.String tag_name,
                             java.util.HashMap attributes)

  Called after the start tag is encountered, after the attributes have been processed, and before any text, PI's or other elements are processed.

### endElement

    public void endElement(java.lang.String tag_name)

  Called when the end tag for an element is encountered.

### text

    public void text(java.lang.String text)

  Called when a text node is encountered. The text contents are passed as the argument.

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