286N/A/*
286N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
286N/A *
286N/A * This code is free software; you can redistribute it and/or modify it
286N/A * under the terms of the GNU General Public License version 2 only, as
286N/A * published by the Free Software Foundation. Oracle designates this
286N/A * particular file as subject to the "Classpath" exception as provided
286N/A * by Oracle in the LICENSE file that accompanied this code.
286N/A *
286N/A * This code is distributed in the hope that it will be useful, but WITHOUT
286N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
286N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
286N/A * version 2 for more details (a copy is included in the LICENSE file that
286N/A * accompanied this code).
286N/A *
286N/A * You should have received a copy of the GNU General Public License version
286N/A * 2 along with this work; if not, write to the Free Software Foundation,
286N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
286N/A *
286N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
286N/A * or visit www.oracle.com if you need additional information or have any
286N/A * questions.
286N/A */
286N/A
286N/A/*
286N/A * This file is available under and governed by the GNU General Public
286N/A * License version 2 only, as published by the Free Software Foundation.
286N/A * However, the following notice accompanied the original version of this
286N/A * file and, per its terms, should not be removed:
286N/A *
286N/A * Copyright (c) 2000 World Wide Web Consortium,
286N/A * (Massachusetts Institute of Technology, Institut National de
286N/A * Recherche en Informatique et en Automatique, Keio University). All
286N/A * Rights Reserved. This program is distributed under the W3C's Software
286N/A * Intellectual Property License. This program is distributed in the
286N/A * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
286N/A * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
286N/A * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
286N/A * details.
286N/A */
286N/A
286N/Apackage org.w3c.dom.html;
286N/A
286N/A/**
286N/A * The anchor element. See the A element definition in HTML 4.0.
286N/A * <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
286N/A */
286N/Apublic interface HTMLAnchorElement extends HTMLElement {
286N/A /**
286N/A * A single character access key to give access to the form control. See
286N/A * the accesskey attribute definition in HTML 4.0.
286N/A */
286N/A public String getAccessKey();
286N/A public void setAccessKey(String accessKey);
286N/A
286N/A /**
286N/A * The character encoding of the linked resource. See the charset
286N/A * attribute definition in HTML 4.0.
286N/A */
286N/A public String getCharset();
286N/A public void setCharset(String charset);
286N/A
286N/A /**
286N/A * Comma-separated list of lengths, defining an active region geometry.
286N/A * See also <code>shape</code> for the shape of the region. See the
286N/A * coords attribute definition in HTML 4.0.
286N/A */
286N/A public String getCoords();
286N/A public void setCoords(String coords);
286N/A
286N/A /**
286N/A * The URI of the linked resource. See the href attribute definition in
286N/A * HTML 4.0.
286N/A */
286N/A public String getHref();
286N/A public void setHref(String href);
286N/A
286N/A /**
286N/A * Language code of the linked resource. See the hreflang attribute
286N/A * definition in HTML 4.0.
286N/A */
286N/A public String getHreflang();
286N/A public void setHreflang(String hreflang);
286N/A
286N/A /**
286N/A * Anchor name. See the name attribute definition in HTML 4.0.
286N/A */
286N/A public String getName();
286N/A public void setName(String name);
286N/A
286N/A /**
286N/A * Forward link type. See the rel attribute definition in HTML 4.0.
286N/A */
286N/A public String getRel();
286N/A public void setRel(String rel);
286N/A
286N/A /**
286N/A * Reverse link type. See the rev attribute definition in HTML 4.0.
286N/A */
286N/A public String getRev();
286N/A public void setRev(String rev);
286N/A
286N/A /**
286N/A * The shape of the active area. The coordinates are given by
286N/A * <code>coords</code> . See the shape attribute definition in HTML 4.0.
286N/A */
286N/A public String getShape();
286N/A public void setShape(String shape);
286N/A
286N/A /**
286N/A * Index that represents the element's position in the tabbing order. See
286N/A * the tabindex attribute definition in HTML 4.0.
286N/A */
286N/A public int getTabIndex();
286N/A public void setTabIndex(int tabIndex);
286N/A
286N/A /**
286N/A * Frame to render the resource in. See the target attribute definition
286N/A * in HTML 4.0.
286N/A */
286N/A public String getTarget();
286N/A public void setTarget(String target);
286N/A
286N/A /**
286N/A * Advisory content type. See the type attribute definition in HTML 4.0.
286N/A */
286N/A public String getType();
286N/A public void setType(String type);
286N/A
286N/A /**
286N/A * Removes keyboard focus from this element.
286N/A */
286N/A public void blur();
286N/A
286N/A /**
286N/A * Gives keyboard focus to this element.
286N/A */
286N/A public void focus();
286N/A
286N/A}