@Override
    public XMLValidationSchema createSchema(InputStream in, String encoding,
                                           String publicId, String systemId)
        throws XMLStreamException
    {
        InputSource src = new InputSource(in);
        src.setEncoding(encoding);
        src.setPublicId(publicId);
        src.setSystemId(systemId);
        return loadSchema(src, systemId);
    }
@ Override public XMLValidationSchema createSchema ( InputStream in , String encoding , String publicId , String systemId ) throws XMLStreamException { InputSource src = new InputSource ( in ) ; src . setEncoding ( encoding ) ; src . setPublicId ( publicId ) ; src . setSystemId ( systemId ) ; return loadSchema ( src , systemId ) ; }
/*
//////////////////////////////////////////////////////////
Stax2, Factory methods
//////////////////////////////////////////////////////////