/** * Test whether the current element has an attribute with * matching namespace URL and localname. * If ns is false, return false immediately * @return boolean * @param URL java.lang.String (namespace URL) * @param ln java.lang.String (localname ) * @exception com.ximpleware.extended.NavExceptionHuge The exception if the underlying byte * content contains various errors. Notice that we are being conservative in making little assumption on * the correctness of underlying byte content. This is because the VTD can be generated by another * machine such as a load-balancer. */ final public boolean hasAttrNS(String URL, String ln) throws NavExceptionHuge { return (getAttrValNS(URL, ln) != -1); } /**
/** * Test whether the current element has an attribute with * matching namespace URL and localname. * If ns is false, return false immediately * @return boolean * @param URL java.lang.String (namespace URL) * @param ln java.lang.String (localname ) * @exception com.ximpleware.extended.NavExceptionHuge The exception if the underlying byte * content contains various errors. Notice that we are being conservative in making little assumption on * the correctness of underlying byte content. This is because the VTD can be generated by another * machine such as a load-balancer. * @exception IllegalArguementException if ln is null */ final public boolean hasAttrNS(String URL, String ln) throws NavExceptionHuge { return (getAttrValNS(URL, ln) != -1); } /**
/** * Test whether the current element has an attribute with * matching namespace URL and localname. * If ns is false, return false immediately * @return boolean * @param URL java.lang.String (namespace URL) * @param ln java.lang.String (localname ) * @exception com.ximpleware.extended.NavExceptionHuge The exception if the underlying byte * content contains various errors. Notice that we are being conservative in making little assumption on * the correctness of underlying byte content. This is because the VTD can be generated by another * machine such as a load-balancer. * @exception IllegalArguementException if ln is null */ final public boolean hasAttrNS(String URL, String ln) throws NavExceptionHuge { return (getAttrValNS(URL, ln) != -1); } /**
} else { ft = false; int i = vn.getAttrValNS(URL,localName); if(i!=-1){ vn.LN = i -1;
} else { ft = false; int i = vn.getAttrValNS(URL,localName); if(i!=-1){ vn.LN = i -1;
} else { ft = false; int i = vn.getAttrValNS(URL,localName); if(i!=-1){ vn.LN = i -1;