code: private TagCIObject getTagCFObject(TagCIObject defaultValue) {
  	if (_comp != null) return _comp;
  
  	// first look for main
  	Iterator<Statement> it = getStatements().iterator();
  	Statement s;
  	TagCIObject t, sub = null;
  
  	while (it.hasNext()) {
  	    s = it.next();
  	    if (s instanceof TagCIObject) {
  		t = (TagCIObject) s;
  		if (t.isMain()) return _comp = t;
  		else if (sub == null) sub = t;
  	    }
  	}
  	if (sub != null) return _comp = sub;
  	return defaultValue;
      }
docs: get the main component/interface from the Page
  
  @return
  @throws TransformerException