blob: ef1f4c94c25dd2a0f432eaabdfb5583c4fb20ae0 [file] [log] [blame]
Shawn Pearcec9549982015-02-11 13:09:01 -08001// Copyright 2015 Google Inc. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
Shawn Pearce12c8fab2016-05-15 16:55:21 -07007// http://www.apache.org/licenses/LICENSE-2.0
Shawn Pearcec9549982015-02-11 13:09:01 -08008//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package com.google.gitiles.doc;
16
Shawn Pearce12c8fab2016-05-15 16:55:21 -070017import org.commonmark.node.CustomBlock;
Han-Wen Nienhuysc0200f62016-05-02 17:34:51 +020018
Shawn Pearce12c8fab2016-05-15 16:55:21 -070019/** Block note to render as {@code <div class="clazz">}. */
20public class BlockNote extends CustomBlock {
21 private String clazz;
Han-Wen Nienhuysc0200f62016-05-02 17:34:51 +020022
Shawn Pearce12c8fab2016-05-15 16:55:21 -070023 public String getClassName() {
24 return clazz;
25 }
Han-Wen Nienhuysc0200f62016-05-02 17:34:51 +020026
Shawn Pearce12c8fab2016-05-15 16:55:21 -070027 public void setClassName(String clazz) {
28 this.clazz = clazz;
29 }
Shawn Pearcec9549982015-02-11 13:09:01 -080030}