private InputNode readStart(InputNode from,EventNode event) throws Exception {
  InputElement input=new InputElement(from,this,event);
  if (text.length() > 0) {
    text.setLength(0);
  }
  if (event.isStart()) {
    return stack.push(input);
  }
  return input;
}

private InputNode readStart ( InputNode from , EventNode event ) throws Exception { InputElement input = new InputElement ( from , this , event ) ; if ( text . length ( ) > 0 ) { text . setLength ( 0 ) ; } if ( event . isStart ( ) ) { return stack . push ( input ) ; } return input ; }
this is used to convert the start element to an input node . this will push the created input node on to the stack . the input node created contains a reference to this reader . so that it can be used to read child elements and values .
