YamlMapping
Defines YAML mapping.
Attributes
- See also
- Graph
-
- Supertypes
- Known subtypes
-
class YamlCollectionFacade
Members list
Value members
Abstract methods
Gets node.
Gets node.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.util.NoSuchElementException
if key or value does not exist
Tests for key.
Tests for key.
Value parameters
- key
-
mapping key
Attributes
Gets keys.
Gets keys.
Attributes
Concrete methods
Optionally gets node.
Optionally gets node.
Value parameters
- key
-
mapping key
Attributes
Gets node as BigDecimal
.
Gets node as BigDecimal
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as BigInt
.
Gets node as BigInt
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as Boolean
.
Gets node as Boolean
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as Double
.
Gets node as Double
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as Float
.
Gets node as Float
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as Instant
.
Gets node as Instant
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as Int
.
Gets node as Int
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as LocalDate
.
Gets node as LocalDate
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as LocalDateTime
.
Gets node as LocalDateTime
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as Long
.
Gets node as Long
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as YamlMapping
.
Gets node as YamlMapping
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as OffsetDateTime
.
Gets node as OffsetDateTime
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node or returns default node.
Gets node or returns default node.
Value parameters
- default
-
default node
- key
-
mapping key
Attributes
Gets node as YamlSequence
.
Gets node as YamlSequence
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Gets node as String
.
Gets node as String
.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Tests for null.
Tests for null.
Value parameters
- key
-
mapping key
Attributes
- Throws
-
java.util.NoSuchElementException
if key does not exist
Reads constructed data.
Reads constructed data.
Value parameters
- constructor
-
data constructor
- key
-
mapping key
Attributes
- Throws
-
java.lang.NullPointerException
if node is null
java.util.NoSuchElementExceptionif key does not exist
Optionally reads constructed data.
Optionally reads constructed data.
Value parameters
- constructor
-
data constructor
- key
-
mapping key
Attributes
- Returns
-
Some
constructed data, orNone
if key does not exists or its associated node is null
Reads constructed data or returns default value.
Reads constructed data or returns default value.
Value parameters
- constructor
-
data constructor
- key
-
mapping key
Attributes
- Returns
-
constructed data, or default value if key does not exist or its associated node is null
Inherited methods
Constructs data.
Tests for empty.
Tests for non-empty.
Gets collection size.