public class SLNDictionary extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SLNDictionary.DictionaryObjectReferencesCheckResult |
Constructor and Description |
---|
SLNDictionary() |
Modifier and Type | Method and Description |
---|---|
void |
addDictionaryObject(ISLNDictionaryObject dictObj) |
static SLNDictionary.DictionaryObjectReferencesCheckResult |
checkContainer(SLNContainer container) |
void |
checkDictionary() |
void |
checkMacroAtom(MacroAtomDictionaryObject maDO) |
void |
checkMarkushAtom(MarkushAtomDictionaryObject maDO) |
boolean |
containsObject(String name) |
boolean |
containsObject(String name,
ISLNDictionaryObject.Type type) |
String |
getCheckErrorMessages() |
ArrayList<String> |
getCheckErrors() |
static SLNDictionary |
getDictionary(String fileName) |
static SLNDictionary |
getDictionary(String[] dictionaryObjects,
SLNParser parser) |
static SLNDictionary |
getDictionary(String fileName,
SLNParser parser) |
ISLNDictionaryObject |
getDictionaryObject(int index) |
ISLNDictionaryObject |
getDictionaryObject(String name) |
List<String> |
getNames() |
String |
getParserErrorMessages() |
ArrayList<SLNParserError> |
getParserErrors() |
String |
toSLN() |
public void addDictionaryObject(ISLNDictionaryObject dictObj)
public ISLNDictionaryObject getDictionaryObject(String name)
public ISLNDictionaryObject getDictionaryObject(int index)
public boolean containsObject(String name)
public boolean containsObject(String name, ISLNDictionaryObject.Type type)
public ArrayList<SLNParserError> getParserErrors()
public String getParserErrorMessages()
public String getCheckErrorMessages()
public String toSLN()
public static SLNDictionary getDictionary(String fileName) throws Exception
Exception
public static SLNDictionary getDictionary(String fileName, SLNParser parser) throws Exception
Exception
public static SLNDictionary getDictionary(String[] dictionaryObjects, SLNParser parser)
public void checkDictionary()
public void checkMacroAtom(MacroAtomDictionaryObject maDO)
public void checkMarkushAtom(MarkushAtomDictionaryObject maDO)
public static SLNDictionary.DictionaryObjectReferencesCheckResult checkContainer(SLNContainer container)
Copyright © 2004–2021 Ideaconsult Ltd.. All rights reserved.