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

HTMLLabelElementImpl

public class HTMLLabelElementImpl extends HTMLElementImpl implements HTMLFormControl, HTMLLabelElement
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.HTMLLabelElement
see
org.apache.xerces.dom.ElementImpl

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public HTMLLabelElementImpl(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.StringgetHtmlFor()

        return getAttribute( "for" );
    
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 voidsetHtmlFor(java.lang.String htmlFor)

        setAttribute( "for", htmlFor );