/** * Return the raw value of the attribute. * * @param namespaceURI:localName or localName if the namespaceURI is null of * the attribute to get * * @return The Attr value as a string, or the empty string if that attribute * does not have a specified or default value */ public String getAttribute(String rawName) { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt)) { return avt.getSimpleString(); } return EMPTYSTRING; }
/** * Return the raw value of the attribute. * * @param namespaceURI:localName or localName if the namespaceURI is null of * the attribute to get * * @return The Attr value as a string, or the empty string if that attribute * does not have a specified or default value */ public String getAttribute(String rawName) { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt)) { return avt.getSimpleString(); } return EMPTYSTRING; }
&& ssNode instanceof ElemLiteralResult) AVT avt = ((ElemLiteralResult)ssNode).getLiteralResultAttribute("href"); String href = avt.evaluate(xctxt,xt, elem); String absURI = SystemIDResolver.getAbsoluteURI(href, sysId); && paramNode instanceof ElemLiteralResult) avt = ((ElemLiteralResult)paramNode).getLiteralResultAttribute("name"); String pName = avt.evaluate(xctxt,xt, elem); avt = ((ElemLiteralResult)paramNode).getLiteralResultAttribute("value"); String pValue = avt.evaluate(xctxt,xt, elem); trans.setParameter(pName, pValue);
/** * Return the raw value of the attribute. * * @param namespaceURI:localName or localName if the namespaceURI is null of * the attribute to get * * @return The Attr value as a string, or the empty string if that attribute * does not have a specified or default value */ public String getAttribute(String rawName) { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt)) { return avt.getSimpleString(); } return EMPTYSTRING; }
/** * Return the raw value of the attribute. * * @param namespaceURI:localName or localName if the namespaceURI is null of * the attribute to get * * @return The Attr value as a string, or the empty string if that attribute * does not have a specified or default value */ public String getAttribute(String rawName) { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt)) { return avt.getSimpleString(); } return EMPTYSTRING; }
/** * Return the raw value of the attribute. * * @param namespaceURI:localName or localName if the namespaceURI is null of * the attribute to get * * @return The Attr value as a string, or the empty string if that attribute * does not have a specified or default value */ public String getAttribute(String rawName) { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt)) { return avt.getSimpleString(); } return EMPTYSTRING; }
/** * Return the raw value of the attribute. * * @param namespaceURI:localName or localName if the namespaceURI is null of * the attribute to get * * @return The Attr value as a string, or the empty string if that attribute * does not have a specified or default value */ public String getAttribute(String rawName) { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt)) { return avt.getSimpleString(); } return EMPTYSTRING; }
/** * Return the raw value of the attribute. * * @param namespaceURI:localName or localName if the namespaceURI is null of * the attribute to get * * @return The Attr value as a string, or the empty string if that attribute * does not have a specified or default value */ public String getAttribute(String rawName) { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt)) { return avt.getSimpleString(); } return EMPTYSTRING; }
/** * Return the raw value of the attribute. * * @param namespaceURI:localName or localName if the namespaceURI is null of * the attribute to get * * @return The Attr value as a string, or the empty string if that attribute * does not have a specified or default value */ public String getAttribute(String rawName) { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt)) { return avt.getSimpleString(); } return EMPTYSTRING; }
/** * Return the raw value of the attribute. * * @param namespaceURI:localName or localName if the namespaceURI is null of * the attribute to get * * @return The Attr value as a string, or the empty string if that attribute * does not have a specified or default value */ public String getAttribute(String rawName) { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt)) { return avt.getSimpleString(); } return EMPTYSTRING; }
/** * Return the raw value of the attribute. * * @param namespaceURI:localName or localName if the namespaceURI is null of * the attribute to get * * @return The Attr value as a string, or the empty string if that attribute * does not have a specified or default value */ public String getAttribute(String rawName) { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt)) { return avt.getSimpleString(); } return EMPTYSTRING; }
/** * Return the raw value of the attribute. * * @param namespaceURI:localName or localName if the namespaceURI is null of * the attribute to get * * @return The Attr value as a string, or the empty string if that attribute * does not have a specified or default value */ public String getAttribute(String rawName) { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt)) { return avt.getSimpleString(); } return EMPTYSTRING; }
/** * Return the value of the attribute interpreted as an Attribute * Value Template (in other words, you can use curly expressions * such as href="http://{website}". * * @param rawName Raw name of the attribute to get * @param sourceNode non-null reference to the <a href="http://www.w3.org/TR/xslt#dt-current-node">current source node</a>. * @param transformer non-null reference to the the current transform-time state. * * @return the value of the attribute * * @throws TransformerException */ public String getAttribute( String rawName, org.w3c.dom.Node sourceNode, TransformerImpl transformer) throws TransformerException { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt) && avt.getRawName().equals(rawName)) { XPathContext xctxt = transformer.getXPathContext(); return avt.evaluate(xctxt, xctxt.getDTMHandleFromNode(sourceNode), this); } return null; }
/** * Return the value of the attribute interpreted as an Attribute * Value Template (in other words, you can use curly expressions * such as href="http://{website}". * * @param rawName Raw name of the attribute to get * @param sourceNode non-null reference to the <a href="http://www.w3.org/TR/xslt#dt-current-node">current source node</a>. * @param transformer non-null reference to the the current transform-time state. * * @return the value of the attribute * * @throws TransformerException */ public String getAttribute( String rawName, org.w3c.dom.Node sourceNode, TransformerImpl transformer) throws TransformerException { AVT avt = getLiteralResultAttribute(rawName); if ((null != avt) && avt.getRawName().equals(rawName)) { XPathContext xctxt = transformer.getXPathContext(); return avt.evaluate(xctxt, xctxt.getDTMHandleFromNode(sourceNode), this); } return null; }
&& ssNode instanceof ElemLiteralResult) AVT avt = ((ElemLiteralResult)ssNode).getLiteralResultAttribute("href"); String href = avt.evaluate(xctxt,xt, elem); String absURI = SystemIDResolver.getAbsoluteURI(href, sysId); && paramNode instanceof ElemLiteralResult) avt = ((ElemLiteralResult)paramNode).getLiteralResultAttribute("name"); String pName = avt.evaluate(xctxt,xt, elem); avt = ((ElemLiteralResult)paramNode).getLiteralResultAttribute("value"); String pValue = avt.evaluate(xctxt,xt, elem); trans.setParameter(pName, pValue);
&& ssNode instanceof ElemLiteralResult) AVT avt = ((ElemLiteralResult)ssNode).getLiteralResultAttribute("href"); String href = avt.evaluate(xctxt,xt, elem); String absURI = SystemIDResolver.getAbsoluteURI(href, sysId); && paramNode instanceof ElemLiteralResult) avt = ((ElemLiteralResult)paramNode).getLiteralResultAttribute("name"); String pName = avt.evaluate(xctxt,xt, elem); avt = ((ElemLiteralResult)paramNode).getLiteralResultAttribute("value"); String pValue = avt.evaluate(xctxt,xt, elem); trans.setParameter(pName, pValue);
&& ssNode instanceof ElemLiteralResult) AVT avt = ((ElemLiteralResult)ssNode).getLiteralResultAttribute("href"); String href = avt.evaluate(xctxt,xt, elem); String absURI = SystemIDResolver.getAbsoluteURI(href, sysId); && paramNode instanceof ElemLiteralResult) avt = ((ElemLiteralResult)paramNode).getLiteralResultAttribute("name"); String pName = avt.evaluate(xctxt,xt, elem); avt = ((ElemLiteralResult)paramNode).getLiteralResultAttribute("value"); String pValue = avt.evaluate(xctxt,xt, elem); trans.setParameter(pName, pValue);