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