/** Parses <code>ui.xml</code> file with given path and content. */
 protected final XmlObjectInfo _parse(String path, String content) throws Exception {
   IFile file = setFileContent(path, content);
   IDocument document = new Document(content);
   // prepare UiBinderContext
   UiBinderContext context = new UiBinderContext(file, document);
   m_lastContext = context;
   // parse
   try {
     UiBinderParser parser = new UiBinderParser(context);
     m_lastObject = parser.parse();
     m_lastLoader = m_lastContext.getClassLoader();
   } finally {
     m_lastState = context.getState();
   }
   // done
   return m_lastObject;
 }