code: public XmlWrapperSerializer createSerializer(Writer output) {
          try {
          	XMLSerializer xmlStreamWriter=new XMLSerializer(output);
  			return new XmlWrapperSerializer(xmlStreamWriter);
  		} catch (Exception e) {
  			e.printStackTrace();
  			throw new KriptonRuntimeException(e);
  		}				
  	}
docs: /* (non-Javadoc)
  @see com.abubusoft.kripton.AbstractContext#createSerializer(java.io.Writer)