public void setDefaultRootEdgeLabel(SymbolTable table, String defaultRootSymbol) throws MaltChainedException { if (rootLabels == null) { rootLabels = new RootLabels(); } rootLabels.setDefaultRootLabel(table, defaultRootSymbol); }
public void setDefaultRootEdgeLabels( String rootLabelOption, SortedMap<String, SymbolTable> edgeSymbolTables) throws MaltChainedException { if (rootLabels == null) { rootLabels = new RootLabels(); } rootLabels.setRootLabels(rootLabelOption, edgeSymbolTables); }
public String getDefaultRootEdgeLabelSymbol(SymbolTable table) throws MaltChainedException { if (rootLabels == null) { return null; } return rootLabels.getDefaultRootLabelSymbol(table); }
public int getDefaultRootEdgeLabelCode(SymbolTable table) throws MaltChainedException { if (rootLabels == null) { return -1; } return rootLabels.getDefaultRootLabelCode(table); }
public LabelSet getDefaultRootEdgeLabels() throws MaltChainedException { if (rootLabels == null) { return null; } return rootLabels.getDefaultRootLabels(); }