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-div-element <div>}
019 * element.
020 *
021 * <ul class='seealso'>
022 *    <li class='link'>{@doc juneau-dto.HTML5}
023 * </ul>
024 */
025@Bean(typeName="div")
026public class Div extends HtmlElementMixed {
027
028   //-----------------------------------------------------------------------------------------------------------------
029   // Overridden methods
030   //-----------------------------------------------------------------------------------------------------------------
031
032   @Override /* HtmlElement */
033   public final Div _class(String _class) {
034      super._class(_class);
035      return this;
036   }
037
038   @Override /* HtmlElement */
039   public final Div id(String id) {
040      super.id(id);
041      return this;
042   }
043
044   @Override /* HtmlElement */
045   public final Div style(String style) {
046      super.style(style);
047      return this;
048   }
049
050   @Override /* HtmlElementMixed */
051   public Div children(Object...children) {
052      super.children(children);
053      return this;
054   }
055
056   @Override /* HtmlElementMixed */
057   public Div child(Object child) {
058      super.child(child);
059      return this;
060   }
061}