765N/A/*
765N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
765N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
765N/A *
765N/A * This code is free software; you can redistribute it and/or modify it
765N/A * under the terms of the GNU General Public License version 2 only, as
765N/A * published by the Free Software Foundation. Oracle designates this
765N/A * particular file as subject to the "Classpath" exception as provided
765N/A * by Oracle in the LICENSE file that accompanied this code.
765N/A *
765N/A * This code is distributed in the hope that it will be useful, but WITHOUT
765N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
765N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
765N/A * version 2 for more details (a copy is included in the LICENSE file that
765N/A * accompanied this code).
765N/A *
765N/A * You should have received a copy of the GNU General Public License version
765N/A * 2 along with this work; if not, write to the Free Software Foundation,
765N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
765N/A *
765N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
765N/A * or visit www.oracle.com if you need additional information or have any
765N/A * questions.
765N/A */
765N/A
765N/Apackage com.sun.tools.doclets.formats.html.markup;
765N/A
765N/A/**
765N/A * Enum representing HTML tag attributes.
765N/A *
765N/A * @author Bhavesh Patel
765N/A */
765N/Apublic enum HtmlAttr {
765N/A ALT,
765N/A BORDER,
765N/A CELLPADDING,
765N/A CELLSPACING,
765N/A CHARSET,
765N/A CLASS,
765N/A CLEAR,
765N/A COLS,
765N/A CONTENT,
765N/A HREF,
765N/A HTTP_EQUIV("http-equiv"),
765N/A ID,
765N/A LANG,
765N/A NAME,
765N/A ONLOAD,
765N/A REL,
765N/A ROWS,
765N/A SCOPE,
765N/A SCROLLING,
765N/A SRC,
765N/A SUMMARY,
765N/A TARGET,
765N/A TITLE,
765N/A TYPE,
765N/A WIDTH;
765N/A
765N/A private final String value;
765N/A
765N/A HtmlAttr() {
765N/A this.value = name().toLowerCase();
765N/A }
765N/A
765N/A HtmlAttr(String name) {
765N/A this.value = name;
765N/A }
765N/A
765N/A public String toString() {
765N/A return value;
765N/A }
765N/A}