opennlp.tools.formats.muc

## Class SgmlParser.ContentHandler

- java.lang.Object
- - opennlp.tools.formats.muc.SgmlParser.ContentHandler

- Direct Known Subclasses:
    MucNameContentHandler
  Enclosing class:
    SgmlParser

      public abstract static class SgmlParser.ContentHandler
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ContentHandler()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `characters(CharSequence chars)`
    `void` | `endElement(String name)`
    `void` | `startElement(String name, Map<String,String> attributes)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ContentHandler

          public ContentHandler()

  - ### Method Detail

    - #### startElement

          public void startElement(String name,
                                   Map<String,String> attributes)
                            throws InvalidFormatException

      Throws:
        `InvalidFormatException`

    - #### characters

          public void characters(CharSequence chars)
                          throws InvalidFormatException

      Throws:
        `InvalidFormatException`

    - #### endElement

          public void endElement(String name)
                          throws InvalidFormatException

      Throws:
        `InvalidFormatException`

Copyright © 2026 The Apache Software Foundation. All rights reserved.