private Object _deserializeStruct(Element elStruct) throws ConverterException {
  String type=elStruct.getAttribute("type");
  Struct struct=new StructImpl();
  NodeList list=elStruct.getChildNodes();
  int len=list.getLength();
  for (int i=0; i < len; i++) {
    Node node=list.item(i);
    if (node instanceof Element) {
      Element var=(Element)node;
      Element value=getChildElement((Element)node);
      if (value != null) {
        struct.setEL(var.getAttribute("name"),_deserialize(value));
      }
    }
  }
  if (struct.size() == 0 && type != null && type.length() > 0) {
    return "";
  }
  return struct;
}

private Object _deserializeStruct ( Element elStruct ) throws ConverterException { String type = elStruct . getAttribute ( "type" ) ; Struct struct = new StructImpl ( ) ; NodeList list = elStruct . getChildNodes ( ) ; int len = list . getLength ( ) ; for ( int i = 0 ; i < len ; i ++ ) { Node node = list . item ( i ) ; if ( node instanceof Element ) { Element var = ( Element ) node ; Element value = getChildElement ( ( Element ) node ) ; if ( value != null ) { struct . setEL ( var . getAttribute ( "name" ) , _deserialize ( value ) ) ; } } } if ( struct . size ( ) == 0 && type != null && type . length ( ) > 0 ) { return "" ; } return struct ; }
desirialize a struct object
