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

HTMLTableColElementImpl

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

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

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

        return getAttribute( "charoff" );
    
public intgetSpan()

        return getInteger( getAttribute( "span" ) );
    
public java.lang.StringgetVAlign()

        return capitalize( getAttribute( "valign" ) );
    
public java.lang.StringgetWidth()

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

        setAttribute( "align", align );
    
public voidsetCh(java.lang.String ch)

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

        setAttribute( "charoff", chOff );
    
public voidsetSpan(int span)

        setAttribute( "span", String.valueOf( span ) );
    
public voidsetVAlign(java.lang.String vAlign)

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

        setAttribute( "width", width );