1 57 package org.enhydra.apache.html.dom; 58 59 60 import org.enhydra.apache.xerces.dom.ElementImpl; 61 import org.w3c.dom.html.HTMLParamElement; 62 63 64 70 public class HTMLParamElementImpl 71 extends HTMLElementImpl 72 implements HTMLParamElement 73 { 74 75 76 public String getName() 77 { 78 return getAttribute( "name" ); 79 } 80 81 82 public void setName( String name ) 83 { 84 setAttribute( "name", name ); 85 } 86 87 88 public String getType() 89 { 90 return getAttribute( "type" ); 91 } 92 93 94 public void setType( String type ) 95 { 96 setAttribute( "type", type ); 97 } 98 99 100 public String getValue() 101 { 102 return getAttribute( "value" ); 103 } 104 105 106 public void setValue( String value ) 107 { 108 setAttribute( "value", value ); 109 } 110 111 112 public String getValueType() 113 { 114 return capitalize( getAttribute( "valuetype" ) ); 115 } 116 117 118 public void setValueType( String valueType ) 119 { 120 setAttribute( "valuetype", valueType ); 121 } 122 123 124 129 public HTMLParamElementImpl( HTMLDocumentImpl owner, String name ) 130 { 131 super( owner, name ); 132 } 133 134 135 } 136 137 | Popular Tags |