Parser (JGraph X 2.1.0.7 API Specification)
Date: 2013-07-31

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph X 2.1.0.7
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mxgraph.util.svg
Interface Parser

All Known Implementing Classes:
  AbstractParser, NumberParser, PathParser, PointsParser

    public interface Parser

This interface represents a parser.

Method Summary
`void` | `parse(String s)` Parses the given string
`void` | `setErrorHandler(ErrorHandler handler)` Allows an application to register an error event handler.

Method Detail

### parse

    void parse(String s)
               throws ParseException

  Parses the given string

  Throws:
    `ParseException`

### setErrorHandler

    void setErrorHandler(ErrorHandler handler)

  Allows an application to register an error event handler.

  If the application does not register an error event handler, all error events reported by the parser will cause an exception to be thrown.

  Applications may register a new or different handler in the middle of a parse, and the parser must begin using the new handler immediately.

  Parameters:
    `handler` - The error handler.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph X 2.1.0.7
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2010 Gaudenz Alder. All rights reserved.