public interface IndexObjectFieldAccessor
Modifier and Type | Method and Description |
---|---|
DocumentElement |
add(DocumentElement target)
Add a new object to the given state at the target of this reference,
and return the nested object, so that it can be populated with fields.
|
void |
addMissing(DocumentElement target)
Similar to
add(DocumentElement) , but instead of adding an
object, this method adds a missing value marker. |
DocumentElement add(DocumentElement target)
target
- The parent object to which the nested object will be added.void addMissing(DocumentElement target)
add(DocumentElement)
, but instead of adding an
object, this method adds a missing value marker.
The missing value marker may have a representation in the backend (such as a JSON null
),
or it may be ignored completely, depending on the implementation.
target
- The parent object to which the "missing value marker" will be added.Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.