public class Document extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected static long |
serialVersionUID
For interoperability with possible future changes.
|
Constructor and Description |
---|
Document()
Constructs an empty
Document . |
Document(Document doc)
Constructs a new
Document with the same fields as the
specified Document . |
Modifier and Type | Method and Description |
---|---|
Object |
get(String key)
Document fields are case-insensitive.
|
Map<String,Object> |
getFields() |
boolean |
isEmpty() |
Object |
put(String key,
Object value)
Document fields are case-insensitive.
|
void |
remove(String key) |
String |
toString() |
protected static final long serialVersionUID
public Document()
Document
.public Document(Document doc)
Document
with the same fields as the
specified Document
.doc
- the Document
whose fields are to be placed in
this Document
.public Object get(String key)
newKey.toString().toUpperCase()
to the uppercase values in the current KeySet.
.public Object put(String key, Object value)
Document
, keys are converted to all uppercase.public void remove(String key)
public boolean isEmpty()
Copyright © 2022 Denodo Technologies. All rights reserved.