Class HoconValue.HoconConcat

java.lang.Object
org.apache.juneau.marshall.hocon.HoconValue
org.apache.juneau.marshall.hocon.HoconValue.HoconConcat
Enclosing class:
HoconValue

public static final class HoconValue.HoconConcat extends HoconValue
HOCON value concatenation (adjacent values concatenated).
  • Constructor Details

  • Method Details

    • getType

      Description copied from class: HoconValue
      Returns the value type.
      Specified by:
      getType in class HoconValue
      Returns:
      The type.
    • getParts

      Returns the concatenated parts.
      Returns:
      The parts list.
    • add

      public void add(HoconValue part)
      Adds a part.
      Parameters:
      part - The part to add.
    • referencesPath

      public boolean referencesPath(String path)
      Returns whether this concat contains a substitution for the given path.
      Parameters:
      path - The dotted path (e.g., "path" or "a.b.c").
      Can be null or empty (returns false).
      Returns:
      true if any part is a substitution for that path.