Examples of PlexusRootElement


Examples of org.codehaus.plexus.metadata.merge.support.PlexusRootElement

    {
        // TODO: Ideally we don't want to manipulate the original
        // dominant document but use its copy for merge.
        //Document mDoc = (Document) dDocument.clone();        // doesn't merge properly
        Document mDoc = dDocument;
        PlexusRootElement dCSE = new PlexusRootElement( mDoc.getRootElement() );
        PlexusRootElement rCSE = new PlexusRootElement( rDocument.getRootElement() );
        dCSE.merge( rCSE );
        // the contents are merged into the dominant document DOM.
        return mDoc;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.