001// ***************************************************************************************************************************
002// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *
003// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *
004// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *
005// * with the License.  You may obtain a copy of the License at                                                              *
006// *                                                                                                                         *
007// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *
008// *                                                                                                                         *
009// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *
010// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *
011// * specific language governing permissions and limitations under the License.                                              *
012// ***************************************************************************************************************************
013package org.apache.juneau.dto.html5;
014
015import org.apache.juneau.annotation.*;
016
017/**
018 * DTO for an HTML {@doc HTML5.grouping-content#the-blockquote-element <blockquote>}
019 * element.
020 *
021 * <h5 class='section'>See Also:</h5>
022 * <ul class='doctree'>
023 *    <li class='link'>{@doc juneau-dto.HTML5}
024 * </ul>
025 */
026@Bean(typeName="blockquote")
027public class Blockquote extends HtmlElementMixed {
028
029   /**
030    * {@doc HTML5.grouping-content#attr-blockquote-cite cite}
031    * attribute.
032    *
033    * <p>
034    * Link to the source of the quotation.
035    *
036    * @param cite The new value for this attribute.
037    * @return This object (for method chaining).
038    */
039   public final Blockquote cite(String cite) {
040      attr("cite", cite);
041      return this;
042   }
043
044
045   //-----------------------------------------------------------------------------------------------------------------
046   // Overridden methods
047   //-----------------------------------------------------------------------------------------------------------------
048
049   @Override /* HtmlElement */
050   public final Blockquote _class(String _class) {
051      super._class(_class);
052      return this;
053   }
054
055   @Override /* HtmlElement */
056   public final Blockquote id(String id) {
057      super.id(id);
058      return this;
059   }
060
061   @Override /* HtmlElement */
062   public final Blockquote style(String style) {
063      super.style(style);
064      return this;
065   }
066
067   @Override /* HtmlElementMixed */
068   public Blockquote children(Object...children) {
069      super.children(children);
070      return this;
071   }
072
073   @Override /* HtmlElementMixed */
074   public Blockquote child(Object child) {
075      super.child(child);
076      return this;
077   }
078}