1 21 package oracle.toplink.essentials.internal.ejb.cmp3.xml.queries; 23 24 import org.w3c.dom.Node ; 25 26 import oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLHelper; 27 import oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLConstants; 28 29 import oracle.toplink.essentials.internal.ejb.cmp3.metadata.queries.MetadataQueryHint; 30 31 39 public class XMLQueryHint extends MetadataQueryHint { 40 protected Node m_node; 41 protected XMLHelper m_helper; 42 43 46 public XMLQueryHint(Node node, XMLHelper helper) { 47 m_node = node; 48 m_helper = helper; 49 } 50 51 54 public String getName() { 55 return m_helper.getNodeValue(m_node, XMLConstants.ATT_NAME); 56 } 57 58 61 public String getValue() { 62 return m_helper.getNodeValue(m_node, XMLConstants.ATT_VALUE); 63 } 64 } 65 | Popular Tags |