/** * SAX2: Look up an attribute's value by Namespace name - SLOW! */ public String getValue(String uri, String localName) { return(getValue(uri+':'+localName)); }
protected boolean hasAttribute(String qname) { return (_attributes != null && _attributes.getValue(qname) != null); }
/** * Returns a value for an attribute from the source element. * @param qname The QName of the attribute to return. * @return The value of the attribute of name 'qname'. */ protected String getAttribute(String qname) { if (_attributes == null) { return EMPTYSTRING; } final String value = _attributes.getValue(qname); return (value == null || value.equals(EMPTYSTRING)) ? EMPTYSTRING : value; }
/** * SAX2: Look up an attribute's value by qname. */ public String getValue(String qname) { if (_attributes != null) { final Integer obj = (Integer)_attributes.get(qname); if (obj == null) return null; return(getValue(obj.intValue())); } else return null; }
final String value = _attributes.getValue(i);
for (int i = 0; i < nAttributes; i++) { final String name = _attributes.getQName(i); final String value = _attributes.getValue(i);
/** * SAX2: Look up an attribute's value by Namespace name - SLOW! */ public String getValue(String uri, String localName) { return(getValue(uri+':'+localName)); }
/** * SAX2: Look up an attribute's value by Namespace name - SLOW! */ public String getValue(String uri, String localName) { return(getValue(uri+':'+localName)); }
/** * SAX2: Look up an attribute's value by Namespace name - SLOW! */ public String getValue(String uri, String localName) { return(getValue(uri+':'+localName)); }
protected boolean hasAttribute(String qname) { return (_attributes != null && _attributes.getValue(qname) != null); }
protected boolean hasAttribute(String qname) { return (_attributes != null && _attributes.getValue(qname) != null); }
protected boolean hasAttribute(String qname) { return (_attributes != null && _attributes.getValue(qname) != null); }
/** * Returns a value for an attribute from the source element. * @param qname The QName of the attribute to return. * @return The value of the attribute of name 'qname'. */ protected String getAttribute(String qname) { if (_attributes == null) { return EMPTYSTRING; } final String value = _attributes.getValue(qname); return (value == null || value.equals(EMPTYSTRING)) ? EMPTYSTRING : value; }
/** * Returns a value for an attribute from the source element. * @param qname The QName of the attribute to return. * @return The value of the attribute of name 'qname'. */ protected String getAttribute(String qname) { if (_attributes == null) { return EMPTYSTRING; } final String value = _attributes.getValue(qname); return (value == null || value.equals(EMPTYSTRING)) ? EMPTYSTRING : value; }
/** * Returns a value for an attribute from the source element. * @param qname The QName of the attribute to return. * @return The value of the attribute of name 'qname'. */ protected String getAttribute(String qname) { if (_attributes == null) { return EMPTYSTRING; } final String value = _attributes.getValue(qname); return (value == null || value.equals(EMPTYSTRING)) ? EMPTYSTRING : value; }
/** * SAX2: Look up an attribute's value by qname. */ public String getValue(String qname) { if (_attributes != null) { final Integer obj = (Integer)_attributes.get(qname); if (obj == null) return null; return(getValue(obj.intValue())); } else return null; }
/** * SAX2: Look up an attribute's value by qname. */ public String getValue(String qname) { if (_attributes != null) { final Integer obj = (Integer)_attributes.get(qname); if (obj == null) return null; return(getValue(obj.intValue())); } else return null; }
/** * SAX2: Look up an attribute's value by qname. */ public String getValue(String qname) { if (_attributes != null) { final Integer obj = (Integer)_attributes.get(qname); if (obj == null) return null; return(getValue(obj.intValue())); } else return null; }
final String value = _attributes.getValue(i);