opennlp.tools.formats.muc

## Class MucNameContentHandler

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

-     public class MucNameContentHandler
      extends SgmlParser.ContentHandler

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MucNameContentHandler(Tokenizer tokenizer, List<NameSample> storedSamples)`

  - ### 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

    - #### MucNameContentHandler

          public MucNameContentHandler(Tokenizer tokenizer,
                                       List<NameSample> storedSamples)

  - ### Method Detail

    - #### startElement

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

      Overrides:
        `startElement` in class `SgmlParser.ContentHandler`
      Throws:
        `InvalidFormatException`

    - #### characters

          public void characters(CharSequence chars)

      Overrides:
        `characters` in class `SgmlParser.ContentHandler`

    - #### endElement

          public void endElement(String name)

      Overrides:
        `endElement` in class `SgmlParser.ContentHandler`

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