public class LexRecord
extends java.lang.Object
History:
Constructor and Description |
---|
LexRecord()
Creates a default lexical record object
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<java.lang.String> |
GetAbbreviations()
Get the abbreviations of this lexical record.
|
java.util.Vector<java.lang.String> |
GetAcronyms()
Get the acronyms of this lexical record.
|
java.util.Vector<java.lang.String> |
GetAnnotations()
Get the annotations of this lexical record.
|
java.lang.String |
GetBase()
Get the base of this lexical record.
|
java.lang.String |
GetCategory()
Get the category name of this lexical record.
|
CatEntry |
GetCatEntry()
Get the category entry of this lexical record
|
java.lang.String |
GetDbFormatText(java.lang.String cDate)
Get the fixed text of this lexical object.
|
java.lang.String |
GetEnd()
Get the record end curly bracket of this lexical record.
|
java.lang.String |
GetEui()
Get the Eui of this lexical record.
|
InflVarsAndAgreements |
GetInflVarsAndAgreements()
Get the derived inflectional variants of this lexical record
|
java.util.Vector<java.lang.String> |
GetNominalizations()
Get the nominalization of this lexical record.
|
java.lang.String |
GetReleaseFormatText()
Get the release format of this lexical object
1.
|
java.lang.String |
GetSignature()
Get the signature of this lexical record.
|
java.util.Vector<java.lang.String> |
GetSpellingVars()
Get the spelling variants of this lexical record.
|
java.lang.String |
GetText()
Get the text format of this lexical object
|
java.util.Vector<java.lang.String> |
GetVariants()
Get the variants of this lexical record.
|
java.lang.String |
GetXml()
Get the xml format of a lexical record with root of lexRecords
|
java.lang.String |
GetXml(int indLevel)
Get the xml format of a lexical record with root of lexRecord
|
static java.lang.String |
GetXmlHeader()
Get xml header
|
static java.lang.String |
GetXmlRootBeginTag()
Get the xml format of a lexical records begin tag
|
static java.lang.String |
GetXmlRootEndTag()
Get the xml format of a lexical records begin tag
|
static void |
main(java.lang.String[] args) |
void |
Print()
print out the text and xml for this lexical record
|
void |
PrintDbFormatText(java.lang.String cDate)
print out the text for the database format lexical record
|
void |
PrintReleaseFormatText()
print out the text for the release lexical record
|
void |
PrintText()
print out the text for this lexical record
|
void |
PrintXml()
print out the xml for this lexical record
|
void |
Reset()
Reset the lexical record
|
void |
SetAbbreviation(java.lang.String abbreviation)
Set (add) an abbreviation for this lexical record
|
void |
SetAbbreviations(java.util.Vector<java.lang.String> abbreviations)
Set the entire collection of abbreviations for this lexical record
|
void |
SetAcronym(java.lang.String acronym)
Set (add) an acronym for this lexical record
|
void |
SetAcronyms(java.util.Vector<java.lang.String> acronyms)
Set the entire collection of acronyms for this lexical record
|
void |
SetAnnotation(java.lang.String annotation)
Set (add) an annotation for this lexical record
|
void |
SetAnnotations(java.util.Vector<java.lang.String> annotations)
Set the entire collection of annotations for this lexical record
|
void |
SetBase(java.lang.String base)
Set the base for this lexical record
|
void |
SetCat(java.lang.String category)
Set the category for this lexical record
|
void |
SetCatEntry(CatEntry catEntry)
Set the category entry for this lexical record
|
void |
SetEnd(java.lang.String end)
Set the record end currly bracket for this lexical record
|
void |
SetEui(java.lang.String eui)
Set the Eui for this lexical record
|
void |
SetLexRecord(LexRecord lexRecord)
set the lexical record to a given lexRecord
|
void |
SetNominalizations(java.util.Vector<java.lang.String> nominalizations)
Set the entire collection of nominalizations for this lexical record
|
void |
SetPrintXmlHeader(boolean printXmlHeader)
Set the flag to print out xml header
|
void |
SetSignature(java.lang.String signature)
Set signature for this lexical record
|
void |
SetSpellingVar(java.lang.String spellingVar)
Set (add) a spelling variant for this lexical record
|
void |
SetSpellingVars(java.util.Vector<java.lang.String> spellingVars)
Set the entire collection of spelling variants for this lexical record
|
void |
SetVariants(java.util.Vector<java.lang.String> variants)
Set the entire collection of variants for this lexical record.
|
void |
SetXmlHeader(java.lang.String xmlHeader)
Set the xml header
|
static void |
SetXmlRootTag(java.lang.String xmlRootTag)
Set the xml root tag, lexRecords
|
public void SetLexRecord(LexRecord lexRecord)
public void Reset()
public java.lang.String GetXml()
public static java.lang.String GetXmlRootBeginTag()
public static java.lang.String GetXmlRootEndTag()
public java.lang.String GetXml(int indLevel)
public java.lang.String GetText()
public java.lang.String GetReleaseFormatText()
public java.lang.String GetDbFormatText(java.lang.String cDate)
public InflVarsAndAgreements GetInflVarsAndAgreements()
public void Print()
public void PrintReleaseFormatText()
public void PrintDbFormatText(java.lang.String cDate)
public void PrintText()
public void PrintXml()
public java.lang.String GetBase()
public java.lang.String GetEui()
public java.util.Vector<java.lang.String> GetSpellingVars()
public java.util.Vector<java.lang.String> GetAcronyms()
public java.util.Vector<java.lang.String> GetAbbreviations()
public java.util.Vector<java.lang.String> GetNominalizations()
public java.util.Vector<java.lang.String> GetVariants()
public java.util.Vector<java.lang.String> GetAnnotations()
public java.lang.String GetSignature()
public java.lang.String GetCategory()
public java.lang.String GetEnd()
public void SetBase(java.lang.String base)
base
- the base formpublic void SetEui(java.lang.String eui)
eui
- the entry unique identifierpublic void SetSpellingVar(java.lang.String spellingVar)
spellingVar
- spelling variant to be addedpublic void SetSpellingVars(java.util.Vector<java.lang.String> spellingVars)
spellingVars
- the whole collection of spelling variantspublic void SetAcronym(java.lang.String acronym)
acronym
- acronym to be addedpublic void SetAbbreviation(java.lang.String abbreviation)
abbreviation
- abbreviation to be addedpublic void SetAnnotation(java.lang.String annotation)
annotation
- annotation to be addedpublic void SetAcronyms(java.util.Vector<java.lang.String> acronyms)
acronyms
- the whole collection of acronyms to be setpublic void SetAbbreviations(java.util.Vector<java.lang.String> abbreviations)
abbreviations
- the whole collection of abbreviations to be setpublic void SetNominalizations(java.util.Vector<java.lang.String> nominalizations)
nominalizations
- the whole list of nominalizations to be setpublic void SetVariants(java.util.Vector<java.lang.String> variants)
variants
- the whole collection of variants to be setpublic void SetAnnotations(java.util.Vector<java.lang.String> annotations)
annotations
- the whole collection of annotations to be setpublic void SetSignature(java.lang.String signature)
signature
- the signature to be setpublic void SetCat(java.lang.String category)
category
- the name of category to be setpublic void SetCatEntry(CatEntry catEntry)
catEntry
- the category entry to be setpublic void SetEnd(java.lang.String end)
end
- the record end currly bracket to be setpublic void SetPrintXmlHeader(boolean printXmlHeader)
printXmlHeader
- xml header printing flagpublic void SetXmlHeader(java.lang.String xmlHeader)
xmlHeader
- xml headerpublic static void SetXmlRootTag(java.lang.String xmlRootTag)
xmlRootTag
- xml root tagpublic CatEntry GetCatEntry()
public static java.lang.String GetXmlHeader()
public static void main(java.lang.String[] args)
Submit a bug or feature
Copyright © 2013 National Library of Medicine