1 19 20 package org.netbeans.modules.xsl.grammar; 21 22 import org.w3c.dom.*; 23 27 public class ResultAttr extends ResultNode implements Attr { 28 29 private Attr attr; 30 31 32 public ResultAttr(Attr peer, String ignorePrefix, String onlyUsePrefix) { 33 super(peer, ignorePrefix, onlyUsePrefix); 34 attr = peer; 35 } 36 37 public String getName() { 38 return attr.getName(); 39 } 40 41 public Element getOwnerElement() { 42 return new ResultElement(attr.getOwnerElement(), ignorePrefix, onlyUsePrefix); 43 } 44 45 public boolean getSpecified() { 46 return attr.getSpecified(); 47 } 48 49 public String getValue() { 50 return attr.getValue(); 51 } 52 53 public void setValue(String value) throws DOMException { 54 attr.setValue(value); 55 } 56 } 57 | Popular Tags |