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