Package org.apache.lenya.cms.publication.util

Examples of org.apache.lenya.cms.publication.util.LinkRewriter


            Document oldTargetDocument = builder.buildDocument(pub, oldTargetUrl);
           
            String newTargetUrl = builder.buildCanonicalUrl(pub, getArea(), getNewDocumentId());
            Document newTargetDocument = builder.buildDocument(pub, newTargetUrl);
           
            LinkRewriter rewriter = new LinkRewriter();
            rewriter.rewriteLinks(oldTargetDocument, newTargetDocument, getContextPrefix());
           
        } catch (Exception e) {
            throw new BuildException(e);
        }
View Full Code Here


            Document oldTargetDocument = builder.buildDocument(pub, oldTargetUrl);
           
            String newTargetUrl = builder.buildCanonicalUrl(pub, getArea(), getNewDocumentId());
            Document newTargetDocument = builder.buildDocument(pub, newTargetUrl);
           
            LinkRewriter rewriter = new LinkRewriter();
            rewriter.rewriteLinks(oldTargetDocument, newTargetDocument, getContextPrefix());
           
        } catch (Exception e) {
            throw new BuildException(e);
        }
View Full Code Here

TOP

Related Classes of org.apache.lenya.cms.publication.util.LinkRewriter

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.