Package org.w3.xlink

Class LocatorType.Builder<_B>

  • All Implemented Interfaces:
    com.kscs.util.jaxb.Buildable
    Enclosing class:
    LocatorType

    public static class LocatorType.Builder<_B>
    extends Object
    implements com.kscs.util.jaxb.Buildable
    • Field Detail

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final LocatorType _storedValue
    • Constructor Detail

      • Builder

        public Builder​(_B _parentBuilder,
                       LocatorType _other,
                       boolean _copy)
      • Builder

        public Builder​(_B _parentBuilder,
                       LocatorType _other,
                       boolean _copy,
                       com.kscs.util.jaxb.PropertyTree _propertyTree,
                       com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
    • Method Detail

      • end

        public _B end()
      • init

        protected <_P extends LocatorType> _P init​(_P _product)
      • addTitle

        public LocatorType.Builder<_B> addTitle​(Iterable<? extends TitleEltType> title)
        Adds the given items to the value of "title"
        Parameters:
        title - Items to add to the value of the "title" property
      • withTitle

        public LocatorType.Builder<_B> withTitle​(Iterable<? extends TitleEltType> title)
        Sets the new value of "title" (any previous value will be replaced)
        Parameters:
        title - New value of the "title" property.
      • addTitle

        public LocatorType.Builder<_B> addTitle​(TitleEltType... title)
        Adds the given items to the value of "title"
        Parameters:
        title - Items to add to the value of the "title" property
      • withTitle

        public LocatorType.Builder<_B> withTitle​(TitleEltType... title)
        Sets the new value of "title" (any previous value will be replaced)
        Parameters:
        title - New value of the "title" property.
      • withType

        public LocatorType.Builder<_B> withType​(TypeType type)
        Sets the new value of "type" (any previous value will be replaced)
        Parameters:
        type - New value of the "type" property.
      • withHref

        public LocatorType.Builder<_B> withHref​(String href)
        Sets the new value of "href" (any previous value will be replaced)
        Parameters:
        href - New value of the "href" property.
      • withRole

        public LocatorType.Builder<_B> withRole​(String role)
        Sets the new value of "role" (any previous value will be replaced)
        Parameters:
        role - New value of the "role" property.
      • withLocatorTitle

        public LocatorType.Builder<_B> withLocatorTitle​(String locatorTitle)
        Sets the new value of "locatorTitle" (any previous value will be replaced)
        Parameters:
        locatorTitle - New value of the "locatorTitle" property.
      • withLabel

        public LocatorType.Builder<_B> withLabel​(String label)
        Sets the new value of "label" (any previous value will be replaced)
        Parameters:
        label - New value of the "label" property.
      • build

        public LocatorType build()
        Specified by:
        build in interface com.kscs.util.jaxb.Buildable