public View create(Element elem){
  Document doc=elem.getDocument();
  Object i18nFlag=doc.getProperty("i18n");
  if ((i18nFlag != null) && i18nFlag.equals(Boolean.TRUE)) {
    return createI18N(elem);
  }
 else {
    return new WrappedPlainView(elem);
  }
}

public View create ( Element elem ) { Document doc = elem . getDocument ( ) ; Object i18nFlag = doc . getProperty ( "i18n" ) ; if ( ( i18nFlag != null ) && i18nFlag . equals ( Boolean . TRUE ) ) { return createI18N ( elem ) ; } else { return new WrappedPlainView ( elem ) ; } }
creates a view from the given structural element of a document .
