NameParserImpl (Apache Tomcat 9.0.37 API Documentation)

org.apache.naming

## Class NameParserImpl

- java.lang.Object
- - org.apache.naming.NameParserImpl

- All Implemented Interfaces:
    NameParser

      public class NameParserImpl
      extends Object
      implements NameParser

  Parses names.
  Author:
    Remy Maucherat

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NameParserImpl()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Name` | `parse(String name)` Parses a name into its components.

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

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

- - ### Constructor Detail

    - #### NameParserImpl

          public NameParserImpl()

  - ### Method Detail

    - #### parse

          public Name parse(String name)
                     throws NamingException

      Parses a name into its components.
      Specified by:
        `parse` in interface `NameParser`
      Parameters:
        `name` - The non-null string name to parse
      Returns:
        A non-null parsed form of the name using the naming convention of this parser.
      Throws:
        `NamingException`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.