From b866fc2b9091397767e82285a7d826c63d3cac90 Mon Sep 17 00:00:00 2001 From: emmanuel lecharny Date: Wed, 19 May 2021 17:40:03 +0200 Subject: [PATCH] formatting --- source/api/user-guide/6.35-value.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/source/api/user-guide/6.35-value.md b/source/api/user-guide/6.35-value.md index 18834147..84394455 100644 --- a/source/api/user-guide/6.35-value.md +++ b/source/api/user-guide/6.35-value.md @@ -26,13 +26,11 @@ There are two ways to create a value: You can create the value passing it an *AttributeType*, or without it. Here are the possible constructors: -
| With an AttributeType | Without an attributeType | Description | -|---|---|---| +|:-:|:-:|:-:| | Value( AttributeType, byte[] upValue ) | Value( byte[] upValue ) | Creates a Value with a binary content | | Value( AttributeType, String upValue ) | Value( String upValue ) | Creates a Value with a String content | | Value( AttributeType, Value ) | - | Create a new Value from an existing one, applying the SchemaManager on it | -
The third constructor is quite specific, as _Value_ is immutable, and it allows you to associate a SchemaManager to a _Value_ instance (creating a new _Value_ in the process). The new _Value_ instance will be schema aware. @@ -40,9 +38,8 @@ The third constructor is quite specific, as _Value_ is immutable, and it allows There are ways to consult the content of the _Value_, and its status. Here is the list of common operations: -
| Operation | Description | -|---|---| +|:-:|:-:| | clone() | Clone the current Value, creating a new instance | | compareTo( byte[] ) | Compare the content of the current value to the given byte[] | | compareTo( String ) | Compare the content of the current value to the given String | @@ -64,6 +61,5 @@ There are ways to consult the content of the _Value_, and its status. Here is th | toString() | Returns a String representation of the Value instance | | writeExternal( ObjectOutput ) | Write the Value into a stream | | -