Package org.infozone.tools.xml.queries

Examples of org.infozone.tools.xml.queries.XUpdateQuery


   
    public final void executeXUpdate( OzoneXUpdateQuery _query ) throws Exception {
        if (_query.rootNode == null) {
            _query.rootNode = getDocument();
        }
        XUpdateQuery query = xupdateQueryFactory.newXUpdateQuery();
        query.setQString( _query.qstring );
        if (_query.filter != null) {
            query.setNodeFilter( _query.filter );
        }
        if (_query.namespace != null) {
            query.setNamespace( _query.namespace );
        }
        System.out.println( query.getClass().getName() );
        System.out.println( _query.qstring );
        System.out.println( _query.rootNode );
        query.execute( _query.rootNode );
    }
View Full Code Here

TOP

Related Classes of org.infozone.tools.xml.queries.XUpdateQuery

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.