1 23 24 package com.sun.enterprise.deployment.node; 25 26 import org.xml.sax.Attributes ; 27 import org.w3c.dom.Node ; 28 import com.sun.enterprise.deployment.Descriptor; 29 30 38 public interface XMLNode { 39 40 47 public void startElement(XMLElement element, Attributes attributes); 48 49 55 public void setElementValue(XMLElement element, String value); 56 57 65 public boolean endElement(XMLElement element); 66 67 74 public boolean handlesElement(XMLElement element); 75 76 84 public XMLNode getHandlerFor(XMLElement element); 85 86 89 public XMLNode getParentNode(); 90 91 96 public String getXMLPath(); 97 98 102 public Object getDescriptor(); 103 104 113 public void addDescriptor(Object descriptor); 114 115 122 public Node writeDescriptor(Node parent, Descriptor descriptor); 123 124 127 public void addPrefixMapping(String prefix, String uri); 128 129 133 public String resolvePrefix(XMLElement element, String prefix); 134 } 135 136 | Popular Tags |