home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2001 December / dppcpro1201.iso / Extras / maple / Viewer / WebEQ / MMLViewerInstall.cab / MMLViewerApplet.cab / webeq3 / dom / MathMLDOMAttribute.class (.txt) < prev    next >
Encoding:
Java Class File  |  2001-05-24  |  2.8 KB  |  149 lines

  1. package webeq3.dom;
  2.  
  3. import org.w3c.dom.Attr;
  4. import org.w3c.dom.DOMException;
  5. import org.w3c.dom.Document;
  6. import org.w3c.dom.Element;
  7. import org.w3c.dom.NamedNodeMap;
  8. import org.w3c.dom.Node;
  9. import org.w3c.dom.NodeList;
  10.  
  11. public class MathMLDOMAttribute implements Attr {
  12.    private Document owner = null;
  13.    private String name = null;
  14.    private boolean specified = false;
  15.    private String value = null;
  16.    private Element owner_element = null;
  17.    private int index;
  18.  
  19.    public MathMLDOMAttribute(Document var1, String var2, int var3) {
  20.       this.owner = var1;
  21.       this.name = var2;
  22.       this.index = var3;
  23.    }
  24.  
  25.    public String getName() {
  26.       return this.name;
  27.    }
  28.  
  29.    public boolean getSpecified() {
  30.       return this.specified;
  31.    }
  32.  
  33.    public String getValue() {
  34.       return this.value;
  35.    }
  36.  
  37.    public void setValue(String var1) throws DOMException {
  38.       this.value = var1;
  39.       this.specified = true;
  40.    }
  41.  
  42.    public Element getOwnerElement() {
  43.       return this.owner_element;
  44.    }
  45.  
  46.    public void setOwnerElement(Element var1) {
  47.       this.owner_element = var1;
  48.    }
  49.  
  50.    public String getNodeName() {
  51.       return this.name;
  52.    }
  53.  
  54.    public String getNodeValue() throws DOMException {
  55.       return this.value;
  56.    }
  57.  
  58.    public void setNodeValue(String var1) throws DOMException {
  59.       this.value = var1;
  60.       this.specified = true;
  61.    }
  62.  
  63.    public short getNodeType() {
  64.       return 2;
  65.    }
  66.  
  67.    public Node getParentNode() {
  68.       return null;
  69.    }
  70.  
  71.    public NodeList getChildNodes() {
  72.       return null;
  73.    }
  74.  
  75.    public Node getFirstChild() {
  76.       return null;
  77.    }
  78.  
  79.    public Node getLastChild() {
  80.       return null;
  81.    }
  82.  
  83.    public Node getPreviousSibling() {
  84.       return null;
  85.    }
  86.  
  87.    public Node getNextSibling() {
  88.       return null;
  89.    }
  90.  
  91.    public NamedNodeMap getAttributes() {
  92.       return null;
  93.    }
  94.  
  95.    public Document getOwnerDocument() {
  96.       return this.owner;
  97.    }
  98.  
  99.    public Node insertBefore(Node var1, Node var2) throws DOMException {
  100.       return null;
  101.    }
  102.  
  103.    public Node replaceChild(Node var1, Node var2) throws DOMException {
  104.       return null;
  105.    }
  106.  
  107.    public Node removeChild(Node var1) throws DOMException {
  108.       return null;
  109.    }
  110.  
  111.    public Node appendChild(Node var1) throws DOMException {
  112.       return null;
  113.    }
  114.  
  115.    public boolean hasChildNodes() {
  116.       return false;
  117.    }
  118.  
  119.    public Node cloneNode(boolean var1) {
  120.       return null;
  121.    }
  122.  
  123.    public void normalize() {
  124.    }
  125.  
  126.    public boolean supports(String var1, String var2) {
  127.       return false;
  128.    }
  129.  
  130.    public String getNamespaceURI() {
  131.       return null;
  132.    }
  133.  
  134.    public String getPrefix() {
  135.       return null;
  136.    }
  137.  
  138.    public void setPrefix(String var1) throws DOMException {
  139.    }
  140.  
  141.    public String getLocalName() {
  142.       return this.getNodeName();
  143.    }
  144.  
  145.    public int getIndex() {
  146.       return this.index;
  147.    }
  148. }
  149.