Code example for NamedNodeMap

Methods: getLength

0
        return mAttributes;
    } 
 
    @Override 
    public boolean hasAttributes() { 
        return (mAttributes.getLength() > 0);
    } 
 
    public TypeInfo getSchemaTypeInfo() {
        return null; 
    } 
 
    public void setIdAttribute(String name, boolean isId) throws DOMException {
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, null);
    } 
 
    public void setIdAttributeNS(String namespaceURI, String localName,
            boolean isId) throws DOMException {
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, null);
    }