public static class DatasetCfg.TreeSemantics
extends io.odysz.anson.Anson
Constructor and Description |
---|
TreeSemantics(String stree) |
TreeSemantics(String[] stree) |
TreeSemantics(String[][] stree) |
Modifier and Type | Method and Description |
---|---|
String |
alias(String expr)
Get alias if possible, other wise the expr itself
|
String |
aliasParent() |
String |
dbFullpath() |
String |
dbParent() |
String |
dbRecId()
Get raw expression of record id.
|
String |
dbSort() |
String |
dbTagCol() |
boolean |
isColChecked(String col)
Is value of col should changed to boolean.
If the semantics configuration's first field is this col's name, the the value should changed into boolean. |
static String[][] |
parseSemantics(String semantic)
parse tree semantics like ",checked,table,recId id,parentId,itemName text,fullpath,siblingSort,false" to 2d array.
|
static String[][] |
parseSemantics(String[] sms) |
String |
tabl() |
String |
toString() |
String[][] |
treeSmtcs() |
appendArr, appendObjStr, appendPair, escape, fromBlock, fromJson, fromJson, toBlock, toEnvelope, toJson, toJson, toMapBlock, unescape
public TreeSemantics(String stree) throws SAXException
SAXException
public TreeSemantics(String[] stree) throws SAXException
SAXException
public TreeSemantics(String[][] stree)
public static String[][] parseSemantics(String semantic) throws SAXException
semantic
- SAXException
public static String[][] parseSemantics(String[] sms) throws SAXException
SAXException
public String toString()
toString
in class io.odysz.anson.Anson
public String[][] treeSmtcs()
public String tabl()
public String dbRecId()
public String dbParent()
public String dbFullpath()
public String dbSort()
public String dbTagCol()
public boolean isColChecked(String col)
col
- public String aliasParent()
Copyright © 2024. All rights reserved.