/** * Returns <code>true</code> if attribute containing some word. */ public boolean isAttributeContaining(final String name, final String word) { Attribute attr = getAttributeInstance(name); if (attr == null) { return false; } return attr.isContaining(word); }
/** * Returns attribute value. Returns <code>null</code> when * attribute doesn't exist or when attribute exist but doesn't * specify a value. */ public String getAttribute(final String name) { Attribute attribute = getAttributeInstance(name); if (attribute == null) { return null; } return attribute.getValue(); }
/** * Returns <code>true</code> if attribute containing some word. */ public boolean isAttributeContaining(final String name, final String word) { Attribute attr = getAttributeInstance(name); if (attr == null) { return false; } return attr.isContaining(word); }
/** * Returns attribute value. Returns <code>null</code> when * attribute doesn't exist or when attribute exist but doesn't * specify a value. */ public String getAttribute(String name) { Attribute attribute = getAttributeInstance(name); if (attribute == null) { return null; } return attribute.getValue(); }
/** * Returns attribute value. Returns <code>null</code> when * attribute doesn't exist or when attribute exist but doesn't * specify a value. */ public String getAttribute(final String name) { Attribute attribute = getAttributeInstance(name); if (attribute == null) { return null; } return attribute.getValue(); }
/** * Returns <code>true</code> if attribute containing some word. */ public boolean isAttributeContaining(String name, String word) { Attribute attr = getAttributeInstance(name); if (attr == null) { return false; } return attr.isContaining(word); }
/** * Returns attribute value. Returns <code>null</code> when * attribute doesn't exist or when attribute exist but doesn't * specify a value. */ public String getAttribute(String name) { Attribute attribute = getAttributeInstance(name); if (attribute == null) { return null; } return attribute.getValue(); }
/** * Returns <code>true</code> if attribute includes some word. */ public boolean isAttributeIncluding(String name, String word) { Attribute attr = getAttributeInstance(name); if (attr == null) { return false; } return attr.isIncluding(word); }