-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
##in NgxBlock Class ,I have a new method to submit
public void getAllElementByBlock(NgxBlock ngxBlock,StringBuilder stringBuilder){
<NgxEntry> iterator = ngxBlock.iterator();
while(iterator.hasNext()){
NgxEntry ngxEntry = iterator.next();
if(ngxEntry instanceof NgxBlock){
NgxBlock block = (NgxBlock) ngxEntry;
stringBuilder.append(block.getName()+" " +block.getValue()+"}");
getAllElementByBlock(block,stringBuilder);
stringBuilder.append(“}”);
}else if(ngxEntry instanceof NgxParam){
NgxParam ngxParam = (NgxParam) ngxEntry;
stringBuilder.append(ngxParam.getName+" "+ngxParam.getValue()+";");
}
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels