br.com.objectos.html.Item4_02__Document_metadata Maven / Gradle / Ivy
/*
* Copyright 2015 Objectos, Fábrica de Software LTDA.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package br.com.objectos.html;
import br.com.objectos.html.boot.Attribute;
import br.com.objectos.html.boot.ProtoType;
import br.com.objectos.html.boot.Void;
interface Item4_02__Document_metadata {
@ProtoType(allowedChildren = {
title.class
}, maxLevel = 2)
interface head extends HtmlElementBaseType {}
@ProtoType
interface title extends HtmlElementBaseType {}
@ProtoType
@Void
interface base extends HtmlElementBaseType {
Element href(String href);
Element target(String target);
}
@ProtoType
@Void
interface link extends HtmlElementBaseType {
Element href(String href);
Element crossorigin(String crossorigin);
Element rel(String rel);
Element media(String media);
Element hreflang(String hreflang);
Element type(String type);
Element sizes(String sizes);
}
@ProtoType
@Void
interface meta extends HtmlElementBaseType {
Element name(String name);
@Attribute(name = "http-equiv")
Element httpequiv(String httpequiv);
Element content(String content);
Element charset(String charset);
}
@ProtoType
interface style extends HtmlElementBaseType {
Element media(String media);
Element type(String type);
}
}