Class HCLinkTypeCustom

    • Constructor Detail

      • HCLinkTypeCustom

        public HCLinkTypeCustom​(@Nonnull @Nonempty
                                String sAttrValue)
      • HCLinkTypeCustom

        public HCLinkTypeCustom​(@Nonnull @Nonempty
                                String sAttrValue,
                                boolean bAllowedMoreThanOnce)
    • Method Detail

      • getAttrValue

        @Nonnull
        @Nonempty
        public final String getAttrValue()
        Specified by:
        getAttrValue in interface com.helger.xml.microdom.IHasAttributeValue
      • isAllowedMoreThanOnce

        public final boolean isAllowedMoreThanOnce()
        Specified by:
        isAllowedMoreThanOnce in interface IHCLinkType
        Returns:
        true if links of this type can occur more than once, false if it may occur only once.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object