FileDocCategorySizeDatePackage
HTMLAreaElementImpl.javaAPI DocApache Xerces 3.0.13713Fri Sep 14 20:33:54 BST 2007org.apache.html.dom

HTMLAreaElementImpl

public class HTMLAreaElementImpl extends HTMLElementImpl implements HTMLAreaElement
xerces.internal
version
$Revision: 447255 $ $Date: 2006-09-18 01:36:42 -0400 (Mon, 18 Sep 2006) $
author
Assaf Arkin
see
org.w3c.dom.html.HTMLAreaElement
see
org.apache.xerces.dom.ElementImpl

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public HTMLAreaElementImpl(HTMLDocumentImpl owner, String name)
Constructor requires owner document.

param
owner The owner HTML document

        super( owner, name );
    
Methods Summary
public java.lang.StringgetAccessKey()


      
    
        String    accessKey;
        
        // Make sure that the access key is a single character.
        accessKey = getAttribute( "accesskey" );
        if ( accessKey != null && accessKey.length() > 1 )
            accessKey = accessKey.substring( 0, 1 );
        return accessKey;
    
public java.lang.StringgetAlt()

        return getAttribute( "alt" );
    
public java.lang.StringgetCoords()

        return getAttribute( "coords" );
    
public java.lang.StringgetHref()

        return getAttribute( "href" );
    
public booleangetNoHref()

        return getBinary( "href" );
    
public java.lang.StringgetShape()

        return capitalize( getAttribute( "shape" ) );
    
public intgetTabIndex()

        return getInteger( getAttribute( "tabindex" ) );
    
public java.lang.StringgetTarget()

        return getAttribute( "target" );
    
public voidsetAccessKey(java.lang.String accessKey)

        // Make sure that the access key is a single character.
        if ( accessKey != null && accessKey.length() > 1 )
            accessKey = accessKey.substring( 0, 1 );
        setAttribute( "accesskey", accessKey );
    
public voidsetAlt(java.lang.String alt)

        setAttribute( "alt", alt );
    
public voidsetCoords(java.lang.String coords)

        setAttribute( "coords", coords );
    
public voidsetHref(java.lang.String href)

        setAttribute( "href", href );
    
public voidsetNoHref(boolean noHref)

        setAttribute( "nohref", noHref );
    
public voidsetShape(java.lang.String shape)

        setAttribute( "shape", shape );
    
public voidsetTabIndex(int tabIndex)

        setAttribute( "tabindex", String.valueOf( tabIndex ) );
    
public voidsetTarget(java.lang.String target)

        setAttribute( "target", target );