public class SimpleDocument extends Object
Constructor and Description |
---|
SimpleDocument(Document document) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Field field) |
Object |
get(String fieldName) |
static Object |
get(StructuredFieldValue struct,
Field field) |
Object |
remove(Field field) |
Object |
remove(String fieldName) |
static Object |
remove(StructuredFieldValue struct,
Field field) |
Object |
set(Field field,
Object value) |
Object |
set(String fieldName,
Object value) |
static Object |
set(StructuredFieldValue struct,
Field field,
Object value) |
private static Object |
unwrapValue(FieldValue val) |
private static FieldValue |
wrapValue(DataType type,
Object val) |
private final Document document
public SimpleDocument(Document document)
public static Object get(StructuredFieldValue struct, Field field)
public static Object set(StructuredFieldValue struct, Field field, Object value)
public static Object remove(StructuredFieldValue struct, Field field)
private static FieldValue wrapValue(DataType type, Object val)
private static Object unwrapValue(FieldValue val)
Copyright © 2017. All rights reserved.