bpatel@766: /* ksrini@2227: * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. bpatel@766: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. bpatel@766: * bpatel@766: * This code is free software; you can redistribute it and/or modify it bpatel@766: * under the terms of the GNU General Public License version 2 only, as bpatel@766: * published by the Free Software Foundation. Oracle designates this bpatel@766: * particular file as subject to the "Classpath" exception as provided bpatel@766: * by Oracle in the LICENSE file that accompanied this code. bpatel@766: * bpatel@766: * This code is distributed in the hope that it will be useful, but WITHOUT bpatel@766: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or bpatel@766: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License bpatel@766: * version 2 for more details (a copy is included in the LICENSE file that bpatel@766: * accompanied this code). bpatel@766: * bpatel@766: * You should have received a copy of the GNU General Public License version bpatel@766: * 2 along with this work; if not, write to the Free Software Foundation, bpatel@766: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. bpatel@766: * bpatel@766: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA bpatel@766: * or visit www.oracle.com if you need additional information or have any bpatel@766: * questions. bpatel@766: */ bpatel@766: bpatel@766: package com.sun.tools.doclets.formats.html.markup; bpatel@766: bpatel@766: /** bpatel@766: * Enum representing HTML tag attributes. bpatel@766: * jjg@1359: *

This is NOT part of any supported API. jjg@1359: * If you write code that depends on this, you do so at your own risk. jjg@1359: * This code and its internal interfaces are subject to change or jjg@1359: * deletion without notice. jjg@1359: * bpatel@766: * @author Bhavesh Patel bpatel@766: */ bpatel@766: public enum HtmlAttr { bpatel@766: ALT, bpatel@766: BORDER, bpatel@766: CELLPADDING, bpatel@766: CELLSPACING, bpatel@766: CLASS, bpatel@766: CLEAR, bpatel@766: COLS, bpatel@766: CONTENT, bpatel@766: HREF, bpatel@766: HTTP_EQUIV("http-equiv"), bpatel@766: ID, bpatel@766: LANG, bpatel@766: NAME, bpatel@766: ONLOAD, bpatel@766: REL, bpatel@766: ROWS, bpatel@766: SCOPE, bpatel@766: SCROLLING, bpatel@766: SRC, bpatel@766: SUMMARY, bpatel@766: TARGET, bpatel@766: TITLE, bpatel@766: TYPE, bpatel@766: WIDTH; bpatel@766: bpatel@766: private final String value; bpatel@766: bpatel@766: HtmlAttr() { bpatel@766: this.value = name().toLowerCase(); bpatel@766: } bpatel@766: bpatel@766: HtmlAttr(String name) { bpatel@766: this.value = name; bpatel@766: } bpatel@766: bpatel@766: public String toString() { bpatel@766: return value; bpatel@766: } bpatel@766: }