xjavadoc.predicates

Class TagAttributeEquals

Implemented Interfaces:
Predicate

public class TagAttributeEquals
extends ProgramElementPredicate

Filter that accepts program elements that have a tag attribute equal to a certain value

Field Summary

private String
_attributeName
private String
_attributeValue
private String
_tagName

Constructor Summary

TagAttributeEquals(String tagName, String attributeName, String attributeValue)

Method Summary

protected boolean
evaluate(XProgramElement programElement)
void
setAttributeName(String attributeName)
void
setAttributeValue(String attributeValue)
void
setTagName(String tagName)

Methods inherited from class xjavadoc.predicates.ProgramElementPredicate

evaluate, evaluate

Field Details

_attributeName

private String _attributeName


_attributeValue

private String _attributeValue


_tagName

private String _tagName

Constructor Details

TagAttributeEquals

public TagAttributeEquals(String tagName,
                          String attributeName,
                          String attributeValue)

Method Details

evaluate

protected boolean evaluate(XProgramElement programElement)
Overrides:
evaluate in interface ProgramElementPredicate


setAttributeName

public void setAttributeName(String attributeName)


setAttributeValue

public void setAttributeValue(String attributeValue)


setTagName

public void setTagName(String tagName)