FileDocCategorySizeDatePackage
HTMLAnchorElementImpl.javaAPI DocApache Xerces 3.0.14764Fri Sep 14 20:33:52 BST 2007org.apache.html.dom

HTMLAnchorElementImpl

public class HTMLAnchorElementImpl extends HTMLElementImpl implements HTMLAnchorElement
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.HTMLAnchorElement
see
org.apache.xerces.dom.ElementImpl

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

param
owner The owner HTML document

        super( owner, name );
    
Methods Summary
public voidblur()

        // No scripting in server-side DOM. This method is moot.
    
public voidfocus()

        // No scripting in server-side DOM. This method is moot.
    
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.StringgetCharset()

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

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

        return getAttribute( "href" );
    
public java.lang.StringgetHreflang()

        return getAttribute( "hreflang" );
    
public java.lang.StringgetName()

        return getAttribute( "name" );
    
public java.lang.StringgetRel()

        return getAttribute( "rel" );
    
public java.lang.StringgetRev()

        return getAttribute( "rev" );
    
public java.lang.StringgetShape()

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

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

        return getAttribute( "target" );
    
public java.lang.StringgetType()

        return getAttribute( "type" );
    
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 voidsetCharset(java.lang.String charset)

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

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

        setAttribute( "href", href );
    
public voidsetHreflang(java.lang.String hreflang)

        setAttribute( "hreflang", hreflang );
    
public voidsetName(java.lang.String name)

        setAttribute( "name", name );
    
public voidsetRel(java.lang.String rel)

        setAttribute( "rel", rel );
    
public voidsetRev(java.lang.String rev)

        setAttribute( "rev", rev );
    
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 );
    
public voidsetType(java.lang.String type)

        setAttribute( "type", type );