Code example for Attr

Methods: getName, getOwnerElement

0
		} 
		return RETURN_ACCEPT_DIFFERENCE; 
	}; 
	 
	public boolean isAttributeOfJsfViewStateInputElement(Attr attribute) {
		return "value".equals(attribute.getName()) && 
			   "javax.faces.ViewState".equals(attribute.getOwnerElement().getAttribute("id"));
	} 
	 
	public Attr getCurrentAttribute(Difference difference) {
		return (Attr) difference.getControlNodeDetail().getNode();
	} 
 
	@Override 
	public void skippedComparison(Node node, Node node1) {
		 
	} 
}