langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/WriterFactoryImpl.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2017, 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 |
43 import jdk.javadoc.internal.doclets.toolkit.SerializedFormWriter; |
43 import jdk.javadoc.internal.doclets.toolkit.SerializedFormWriter; |
44 import jdk.javadoc.internal.doclets.toolkit.WriterFactory; |
44 import jdk.javadoc.internal.doclets.toolkit.WriterFactory; |
45 import jdk.javadoc.internal.doclets.toolkit.util.ClassTree; |
45 import jdk.javadoc.internal.doclets.toolkit.util.ClassTree; |
46 import jdk.javadoc.internal.doclets.toolkit.util.VisibleMemberMap; |
46 import jdk.javadoc.internal.doclets.toolkit.util.VisibleMemberMap; |
47 |
47 |
48 import static jdk.javadoc.internal.doclets.toolkit.util.VisibleMemberMap.Kind.*; |
|
49 |
|
50 /** |
48 /** |
51 * The factory that returns HTML writers. |
49 * The factory that returns HTML writers. |
52 * |
50 * |
53 * <p><b>This is NOT part of any supported API. |
51 * <p><b>This is NOT part of any supported API. |
54 * If you write code that depends on this, you do so at your own risk. |
52 * If you write code that depends on this, you do so at your own risk. |
57 * |
55 * |
58 * @author Jamie Ho |
56 * @author Jamie Ho |
59 */ |
57 */ |
60 public class WriterFactoryImpl implements WriterFactory { |
58 public class WriterFactoryImpl implements WriterFactory { |
61 |
59 |
62 private final ConfigurationImpl configuration; |
60 private final HtmlConfiguration configuration; |
63 public WriterFactoryImpl(ConfigurationImpl configuration) { |
61 public WriterFactoryImpl(HtmlConfiguration configuration) { |
64 this.configuration = configuration; |
62 this.configuration = configuration; |
65 } |
63 } |
66 |
64 |
67 /** |
65 /** |
68 * {@inheritDoc} |
66 * {@inheritDoc} |