FileDocCategorySizeDatePackage
HTMLObjectElementImpl.javaAPI DocJava SE 5 API6998Fri Aug 26 14:55:28 BST 2005com.sun.org.apache.html.internal.dom

HTMLObjectElementImpl

public class HTMLObjectElementImpl extends HTMLElementImpl implements HTMLObjectElement, HTMLFormControl
version
$Revision: 1.2 $ $Date: 2003/11/18 00:22:49 $
author
Assaf Arkin
see
org.w3c.dom.html.HTMLObjectElement
see
com.sun.org.apache.xerces.internal.dom.ElementImpl

Fields Summary
Constructors Summary
public HTMLObjectElementImpl(HTMLDocumentImpl owner, String name)
Constructor requires owner document.

param
owner The owner HTML document

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

        return capitalize( getAttribute( "align" ) );
    
public java.lang.StringgetArchive()

        return getAttribute( "archive" );
    
public java.lang.StringgetBorder()

        return getAttribute( "border" );
    
public java.lang.StringgetCode()

        return getAttribute( "code" );
    
public java.lang.StringgetCodeBase()

        return getAttribute( "codebase" );
    
public java.lang.StringgetCodeType()

        return getAttribute( "codetype" );
    
public org.w3c.dom.DocumentgetContentDocument()

        return null; //PENDING
    
public java.lang.StringgetData()

        return getAttribute( "data" );
    
public booleangetDeclare()

        return getBinary( "declare" );
    
public java.lang.StringgetHeight()

        return getAttribute( "height" );
    
public java.lang.StringgetHspace()

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

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

        return getAttribute( "standby" );
    
public intgetTabIndex()

        try
        {
            return Integer.parseInt( getAttribute( "tabindex" ) );
        }
        catch ( NumberFormatException except )
        {
            return 0;
        }
    
public java.lang.StringgetType()

        return getAttribute( "type" );
    
public java.lang.StringgetUseMap()

        return getAttribute( "useMap" );
    
public java.lang.StringgetVspace()

        return getAttribute( "vspace" );
    
public java.lang.StringgetWidth()

        return getAttribute( "width" );
    
public voidsetAlign(java.lang.String align)

        setAttribute( "align", align );
    
public voidsetArchive(java.lang.String archive)

        setAttribute( "archive", archive );
    
public voidsetBorder(java.lang.String border)

        setAttribute( "border", border );
    
public voidsetCode(java.lang.String code)

        setAttribute( "code", code );
    
public voidsetCodeBase(java.lang.String codeBase)

        setAttribute( "codebase", codeBase );
    
public voidsetCodeType(java.lang.String codeType)

        setAttribute( "codetype", codeType );
    
public voidsetData(java.lang.String data)

        setAttribute( "data", data );
    
public voidsetDeclare(boolean declare)

        setAttribute( "declare", declare );
    
public voidsetHeight(java.lang.String height)

        setAttribute( "height", height );
    
public voidsetHspace(java.lang.String hspace)

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

        setAttribute( "name", name );
    
public voidsetStandby(java.lang.String standby)

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

        setAttribute( "tabindex", String.valueOf( tabIndex ) );
    
public voidsetType(java.lang.String type)

        setAttribute( "type", type );
    
public voidsetUseMap(java.lang.String useMap)

        setAttribute( "useMap", useMap );
    
public voidsetVspace(java.lang.String vspace)

        setAttribute( "vspace", vspace );
    
public voidsetWidth(java.lang.String width)

        setAttribute( "width", width );