DocumentField

Inheritance: java.lang.Object

public class DocumentField

Represents a document field data.

Learn more

Constructors

Constructor Description
DocumentField(String name, String value) Initializes a new instance of the DocumentField class.
DocumentField(Object data) Initializes a new instance of the DocumentField class.

Methods

Method Description
getName() Gets a field name.
getValue() Gets a field value.
getCore()

DocumentField(String name, String value)

public DocumentField(String name, String value)

Initializes a new instance of the DocumentField class.

Parameters:

Parameter Type Description
name java.lang.String The field name.
value java.lang.String The field value.

DocumentField(Object data)

public DocumentField(Object data)

Initializes a new instance of the DocumentField class.

Parameters:

Parameter Type Description
data java.lang.Object The serialized data.

getName()

public String getName()

Gets a field name.

Returns: java.lang.String - The field name.

getValue()

public String getValue()

Gets a field value.

Returns: java.lang.String - The field value.

getCore()

public Object getCore()

Returns: java.lang.Object