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 ExtHTML5.text-level-semantics#the-br-element <br>} 019 * element. 020 * 021 * <ul class='seealso'> 022 * <li class='link'>{@doc DtoHtml5} 023 * </ul> 024 */ 025@Bean(typeName="br") 026public class Br extends HtmlElementVoid { 027 028 /** 029 * Creates an empty {@link Br} element. 030 */ 031 public Br() {} 032 033 //----------------------------------------------------------------------------------------------------------------- 034 // Overridden methods 035 //----------------------------------------------------------------------------------------------------------------- 036 037 @Override /* HtmlElement */ 038 public final Br _class(String _class) { 039 super._class(_class); 040 return this; 041 } 042 043 @Override /* HtmlElement */ 044 public final Br id(String id) { 045 super.id(id); 046 return this; 047 } 048 049 @Override /* HtmlElement */ 050 public final Br style(String style) { 051 super.style(style); 052 return this; 053 } 054}