code: public boolean getXmlStandalone() {
  	// dynamic load to support jre 1.4 and 1.5
  	try {
  	    Method m = doc.getClass().getMethod("getXmlStandalone", new Class[] {});
  	    return Caster.toBooleanValue(m.invoke(doc, ArrayUtil.OBJECT_EMPTY));
  	}
  	catch (Exception e) {
  	    throw new PageRuntimeException(Caster.toPageException(e));
  	}
      }
docs: used only with java 7, do not set @Override