com.thinkaurelius.titan.diskstorage.configuration

## Class ConfigElement

- java.lang.Object
- - com.thinkaurelius.titan.diskstorage.configuration.ConfigElement

- Direct Known Subclasses:
    ConfigNamespace, ConfigOption

      public abstract class ConfigElement
      extends Object

  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ConfigElement.PathIdentifier`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static char[]` | `ILLEGAL_CHARS`
    `static char` | `SEPARATOR`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConfigElement(ConfigNamespace namespace, String name, String description)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object oth)`
    `static String[]` | `getComponents(String path)`
    `String` | `getDescription()`
    `String` | `getName()`
    `ConfigNamespace` | `getNamespace()`
    `static String` | `getPath(ConfigElement element, String... umbrellaElements)`
    `ConfigNamespace` | `getRoot()`
    `int` | `hashCode()`
    `boolean` | `isNamespace()`
    `abstract boolean` | `isOption()`
    `boolean` | `isRoot()`
    `static ConfigElement.PathIdentifier` | `parse(ConfigNamespace root, String path)`
    `String` | `toString()`
    `static String` | `toString(ConfigElement element)`
    `static String` | `toStringSingle(ConfigElement element)`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### SEPARATOR

          public static final char SEPARATOR

      See Also:
        Constant Field Values

    - #### ILLEGAL_CHARS

          public static final char[] ILLEGAL_CHARS

  - ### Constructor Detail

    - #### ConfigElement

          public ConfigElement(ConfigNamespace namespace,
                       String name,
                       String description)

  - ### Method Detail

    - #### getNamespace

          public ConfigNamespace getNamespace()

    - #### isRoot

          public boolean isRoot()

    - #### getRoot

          public ConfigNamespace getRoot()

    - #### getName

          public String getName()

    - #### getDescription

          public String getDescription()

    - #### isOption

          public abstract boolean isOption()

    - #### isNamespace

          public boolean isNamespace()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object oth)

      Overrides:
        `equals` in class `Object`

    - #### getComponents

          public static String[] getComponents(String path)

    - #### toStringSingle

          public static String toStringSingle(ConfigElement element)

    - #### toString

          public static String toString(ConfigElement element)

    - #### getPath

          public static String getPath(ConfigElement element,
                       String... umbrellaElements)

    - #### parse

          public static ConfigElement.PathIdentifier parse(ConfigNamespace root,
                                           String path)

Copyright © 2012–2014. All rights reserved.