langtools/src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java
changeset 9608 385a828ba236
parent 7681 1f0819a3341f
child 14260 727a84636f12
equal deleted inserted replaced
9607:94b7adcaccad 9608:385a828ba236
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    57 
    57 
    58     /**
    58     /**
    59      * {@inheritDoc}
    59      * {@inheritDoc}
    60      */
    60      */
    61     public TagletOutput getDocRootOutput() {
    61     public TagletOutput getDocRootOutput() {
    62         return new TagletOutputImpl(htmlWriter.relativepathNoSlash);
    62         if (htmlWriter.configuration.docrootparent.length() > 0)
       
    63             return new TagletOutputImpl(htmlWriter.configuration.docrootparent);
       
    64         else
       
    65             return new TagletOutputImpl(htmlWriter.relativepathNoSlash);
    63     }
    66     }
    64 
    67 
    65     /**
    68     /**
    66      * {@inheritDoc}
    69      * {@inheritDoc}
    67      */
    70      */