Commit df0f7758 by WeiCong

增加基于域名的解析和组装

parent 30dcc426
...@@ -12,6 +12,7 @@ public class TagLine implements MessageArea { ...@@ -12,6 +12,7 @@ public class TagLine implements MessageArea {
private String tagName; private String tagName;
private String status; private String status;
public MessageArea parent; public MessageArea parent;
public boolean onlyOne;
public String getStatus() { public String getStatus() {
return status; return status;
...@@ -22,7 +23,7 @@ public class TagLine implements MessageArea { ...@@ -22,7 +23,7 @@ public class TagLine implements MessageArea {
private int maxCnt = 0; private int maxCnt = 0;
private int tno = 0; private int tno = 0;
private String desp = ""; private String desp = "";
private final int type = TAG; private final int type = TAG;
private List<String> suffix = new ArrayList<String>(); private List<String> suffix = new ArrayList<String>();
public void add(TagCell cell) { public void add(TagCell cell) {
cellList.add(cell); cellList.add(cell);
...@@ -62,7 +63,7 @@ public class TagLine implements MessageArea { ...@@ -62,7 +63,7 @@ public class TagLine implements MessageArea {
{ {
this.value = null; this.value = null;
return ; return ;
} }
if(this.value!=null && this.value.equals(value)) if(this.value!=null && this.value.equals(value))
return; return;
this.value = value; this.value = value;
...@@ -109,7 +110,7 @@ public class TagLine implements MessageArea { ...@@ -109,7 +110,7 @@ public class TagLine implements MessageArea {
cell.setValue( entry.getValue()); cell.setValue( entry.getValue());
break; break;
} }
} }
} }
} }
public TagLine clone() public TagLine clone()
...@@ -146,7 +147,7 @@ public class TagLine implements MessageArea { ...@@ -146,7 +147,7 @@ public class TagLine implements MessageArea {
return tagName; return tagName;
} }
public void addSubArea(MessageArea sub) { public void addSubArea(MessageArea sub) {
} }
public boolean isEnd() public boolean isEnd()
{ {
...@@ -191,7 +192,7 @@ public class TagLine implements MessageArea { ...@@ -191,7 +192,7 @@ public class TagLine implements MessageArea {
sb.append(")?"); sb.append(")?");
return sb.toString(); return sb.toString();
} }
//分段校验信息 //分段校验信息
public Map<String,Object> toSegRegMap() public Map<String,Object> toSegRegMap()
{ {
...@@ -223,7 +224,7 @@ public class TagLine implements MessageArea { ...@@ -223,7 +224,7 @@ public class TagLine implements MessageArea {
} }
return set; return set;
} }
String analyzeReg = null; String analyzeReg = null;
public void setAnalyzeReg(String analyzeReg){ public void setAnalyzeReg(String analyzeReg){
this.analyzeReg=analyzeReg; this.analyzeReg=analyzeReg;
...@@ -252,7 +253,7 @@ public class TagLine implements MessageArea { ...@@ -252,7 +253,7 @@ public class TagLine implements MessageArea {
public void setDesp(String desp) { public void setDesp(String desp) {
this.desp = desp; this.desp = desp;
} }
public void setSuffix(List<String> tagSuffix) { public void setSuffix(List<String> tagSuffix) {
this.suffix.clear(); this.suffix.clear();
this.suffix.addAll(tagSuffix); this.suffix.addAll(tagSuffix);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment