src/share/classes/com/sun/tools/doclets/formats/html/WriterFactoryImpl.java

changeset 1568
5f0731e4e5e6
parent 1410
bfec2a1cc869
child 1606
ccbe7ffdd867
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/WriterFactoryImpl.java	Wed Jan 16 12:00:21 2013 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/WriterFactoryImpl.java	Mon Jan 21 00:45:35 2013 -0500
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -28,6 +28,7 @@
    1.11  import java.io.IOException;
    1.12  
    1.13  import com.sun.javadoc.*;
    1.14 +import com.sun.tools.javac.jvm.Profile;
    1.15  import com.sun.tools.doclets.internal.toolkit.*;
    1.16  import com.sun.tools.doclets.internal.toolkit.util.*;
    1.17  
    1.18 @@ -69,6 +70,24 @@
    1.19      /**
    1.20       * {@inheritDoc}
    1.21       */
    1.22 +    public ProfileSummaryWriter getProfileSummaryWriter(Profile profile,
    1.23 +        Profile prevProfile, Profile nextProfile) throws Exception {
    1.24 +        return new ProfileWriterImpl(configuration, profile,
    1.25 +            prevProfile, nextProfile);
    1.26 +    }
    1.27 +
    1.28 +    /**
    1.29 +     * {@inheritDoc}
    1.30 +     */
    1.31 +    public ProfilePackageSummaryWriter getProfilePackageSummaryWriter(PackageDoc packageDoc,
    1.32 +        PackageDoc prevPkg, PackageDoc nextPkg, Profile profile) throws Exception {
    1.33 +        return new ProfilePackageWriterImpl(configuration, packageDoc,
    1.34 +            prevPkg, nextPkg, profile);
    1.35 +    }
    1.36 +
    1.37 +    /**
    1.38 +     * {@inheritDoc}
    1.39 +     */
    1.40      public ClassWriter getClassWriter(ClassDoc classDoc, ClassDoc prevClass,
    1.41              ClassDoc nextClass, ClassTree classTree) throws IOException {
    1.42          return new ClassWriterImpl(configuration, classDoc,

mercurial