public class NameToStructureConfig
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
NameToStructureConfig()
Constructs a NameToStructureConfig with default settings:
allowRadicals = false
detailedFailureAnalysis = false
|
Modifier and Type | Method and Description |
---|---|
NameToStructureConfig |
clone() |
static NameToStructureConfig |
getDefaultConfigInstance()
Constructs a NameToStructureConfig with default settings:
allowRadicals = false
detailedFailureAnalysis = false
|
boolean |
isAllowRadicals()
Are radicals allowed? e.g.
|
boolean |
isDetailedFailureAnalysis()
Should OPSIN attempt reverse parsing to more accurately determine why parsing failed
|
void |
setAllowRadicals(boolean allowRadicals)
Sets whether radicals allowed? e.g.
|
void |
setDetailedFailureAnalysis(boolean detailedFailureAnalysis)
Sets whether OPSIN should attempt reverse parsing to more accurately determine why parsing failed
|
public NameToStructureConfig()
public boolean isAllowRadicals()
public void setAllowRadicals(boolean allowRadicals)
public boolean isDetailedFailureAnalysis()
public void setDetailedFailureAnalysis(boolean detailedFailureAnalysis)
public static NameToStructureConfig getDefaultConfigInstance()
public NameToStructureConfig clone()
clone
in class java.lang.Object