outputFactory = new WstxOutputFactory(); inputFactory = new WstxInputFactory();
outputFactory = XMLOutputFactory.newInstance(); inputFactory = XMLInputFactory.newInstance();
    public XMarshaler()    {        outputFactory = new WstxOutputFactory();        inputFactory = new WstxInputFactory();    }