Package org.apache.juneau.marshall.hocon
Class HoconValue.HoconConcat
java.lang.Object
org.apache.juneau.marshall.hocon.HoconValue
org.apache.juneau.marshall.hocon.HoconValue.HoconConcat
- Enclosing class:
- HoconValue
HOCON value concatenation (adjacent values concatenated).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.juneau.marshall.hocon.HoconValue
HoconValue.HoconArray, HoconValue.HoconBoolean, HoconValue.HoconConcat, HoconValue.HoconNull, HoconValue.HoconNumber, HoconValue.HoconObject, HoconValue.HoconString, HoconValue.HoconSubstitution, HoconValue.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(HoconValue part) Adds a part.getParts()Returns the concatenated parts.getType()Returns the value type.booleanreferencesPath(String path) Returns whether this concat contains a substitution for the given path.
-
Constructor Details
-
HoconConcat
public HoconConcat()
-
-
Method Details
-
getType
Description copied from class:HoconValueReturns the value type.- Specified by:
getTypein classHoconValue- Returns:
- The type.
-
getParts
Returns the concatenated parts.- Returns:
- The parts list.
-
add
Adds a part.- Parameters:
part- The part to add.
-
referencesPath
Returns whether this concat contains a substitution for the given path.- Parameters:
path- The dotted path (e.g., "path" or "a.b.c").
Can benull or empty (returnsfalse ).- Returns:
true if any part is a substitution for that path.
-