Code example for Attr

Methods: getOwnerElementgetLocalNamegetNamespaceURI

0
     * @param attribute the manifest attribute 
     * @return true if this attribute can describe a class 
     */ 
    public static boolean isManifestClassAttribute(@NonNull Attr attribute) {
        return isManifestClassAttribute( 
                attribute.getOwnerElement().getTagName(),
                attribute.getNamespaceURI(),
                attribute.getLocalName());
    } 
 
    /** 
     * Returns whether the given manifest attribute should be considered to describe 
     * a class name. These will be eligible for refactoring when classes are renamed 
     * or moved. 
     * 
     * @param tag the tag, if known 
     * @param uri the attribute namespace, if any 
     * @param name the attribute local name, if any 
     * @return true if this attribute can describe a class 
     */ 
Experience pair programming with AI  Get Codota for Java