public class JsonSchemaNameValue extends Object
getNameStart()
always return -1 whereas for name-value pairs, it represents the
location of name of the attribute for object attributes.Constructor and Description |
---|
JsonSchemaNameValue(int nameStart,
JsonSchemaNode value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getNameStart()
Points to name of the object described in
getValue() . |
JsonSchemaNode |
getValue()
Returns the description of the value stored in here
|
int |
hashCode() |
boolean |
isArrayItem() |
boolean |
isObjectItem() |
String |
toString() |
public JsonSchemaNameValue(int nameStart, JsonSchemaNode value)
public int getNameStart()
getValue()
.
The returned integer represents the offset of the name according
to the underlying data format. It could be byte offset for Data
or char offset for Stringpublic boolean isArrayItem()
public boolean isObjectItem()
public JsonSchemaNode getValue()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.