Package org.apache.juneau.marshall.hocon
Class HoconValue.HoconSubstitution
java.lang.Object
org.apache.juneau.marshall.hocon.HoconValue
org.apache.juneau.marshall.hocon.HoconValue.HoconSubstitution
- Enclosing class:
- HoconValue
HOCON substitution reference (${var} or ${?var}).
-
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
-
Constructor Details
-
HoconSubstitution
Constructor.- Parameters:
path- The reference path.optional- Whether optional (${?var}).
-
-
Method Details
-
getType
Description copied from class:HoconValueReturns the value type.- Specified by:
getTypein classHoconValue- Returns:
- The type.
-
getPath
Returns the reference path.- Returns:
- The path.
-
isOptional
Returns whether this is an optional substitution.- Returns:
true for ${?var}.
-