Package com.helger.html.hc.html.metadata
Class HCLinkTypeCustom
- java.lang.Object
-
- com.helger.html.hc.html.metadata.HCLinkTypeCustom
-
- All Implemented Interfaces:
IHCHasHTMLAttributeValue,IHCLinkType,com.helger.xml.microdom.IHasAttributeValue,Serializable
public class HCLinkTypeCustom extends Object implements IHCLinkType
Implementation of customIHCLinkTypeobjects that cannot be found inEHCLinkType.- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HCLinkTypeCustom(String sAttrValue)HCLinkTypeCustom(String sAttrValue, boolean bAllowedMoreThanOnce)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAttrValue()inthashCode()booleanisAllowedMoreThanOnce()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.html.hc.html.IHCHasHTMLAttributeValue
hasAttrValue
-
-
-
-
Method Detail
-
getAttrValue
@Nonnull @Nonempty public final String getAttrValue()
- Specified by:
getAttrValuein interfacecom.helger.xml.microdom.IHasAttributeValue
-
isAllowedMoreThanOnce
public final boolean isAllowedMoreThanOnce()
- Specified by:
isAllowedMoreThanOncein interfaceIHCLinkType- Returns:
trueif links of this type can occur more than once,falseif it may occur only once.
-
-