public class NarrativeResolver
extends java.lang.Object
StructuredNarrativeField
Constructor and Description |
---|
NarrativeResolver() |
Modifier and Type | Method and Description |
---|---|
static Narrative |
parse(Field f)
Parses the narrative text with a specific format depending on the field
|
static Narrative |
parseFormat1(Field f)
Line 1: /8a/[additional information] (Code)(Narrative)
Lines 2-n: /8a/[additional information] (Code)(Narrative)
[//continuation of additional information] (Narrative)
|
static Narrative |
parseFormat2(Field f)
Line 1: /8c/[additional information] (Code)(Narrative)
Lines 2-n: /8c/[additional information] (Code)(Narrative)
[//continuation of additional information] (Narrative)
|
static Narrative |
parseFormat3(Field f)
Line 1: /8c/[3!a13d][additional information] (Code)(Currency)(Amount)(Narrative)
Lines 2-6: /8c/[3!a13d][additional information] (Code)(Currency)(Amount)(Narrative)
[//continuation of additional information] (Narrative)
|
static Narrative |
parseFormat4(Field f)
Line 1: /8c/[additional information] (Code)(Narrative)
Lines 2-3: [//continuation of additional information] (Narrative)
Variant for cat 1 with country
Line 1: /8c/2!a[//additional information] (Code)(Country)(Narrative)
Lines 2-3: [//continuation of additional information] (Narrative)
|
static Narrative |
parseFormat5(Field f)
Line 1: /2n/[supplement 1][/supplement2] (Query Number)(Narrative 1)(Narrative 2)
Lines 2-6 /2n/[supplement 1][/supplement2]
[//continuation of supplementary information]
|
static Narrative |
parseFormat6(Field f)
Line 1: /6c/[additional information] (Code)(Narrative)
Lines 2-100: /6c/[additional information] (Code)(Narrative)
[continuation of additional information] (Narrative) (cannot start with slash)
|
static Narrative |
parseFormat7(Field f)
Code between slashes at the beginning of a line
|
static Narrative |
parseFormat8(java.lang.String value) |
static Narrative |
parseFreeFormat(java.lang.String value)
Free format codes in slashes, not necessary on new lines
|
public static Narrative parse(Field f)
public static Narrative parseFreeFormat(java.lang.String value)
public static Narrative parseFormat1(Field f)
public static Narrative parseFormat2(Field f)
public static Narrative parseFormat3(Field f)
public static Narrative parseFormat4(Field f)
public static Narrative parseFormat5(Field f)
public static Narrative parseFormat6(Field f)
public static Narrative parseFormat7(Field f)
public static Narrative parseFormat8(java.lang.String value)
parseFreeFormat(String)