Package org.w3.xlink

Class Simple.Builder<_B>

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

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

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final Simple _storedValue
    • Constructor Detail

      • Builder

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

        public Builder​(_B _parentBuilder,
                       Simple _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 Simple> _P init​(_P _product)
      • addContent

        public Simple.Builder<_B> addContent​(Iterable<?> content)
        Adds the given items to the value of "content"
        Parameters:
        content - Items to add to the value of the "content" property
      • withContent

        public Simple.Builder<_B> withContent​(Iterable<?> content)
        Sets the new value of "content" (any previous value will be replaced)
        Parameters:
        content - New value of the "content" property.
      • addContent

        public Simple.Builder<_B> addContent​(Object... content)
        Adds the given items to the value of "content"
        Parameters:
        content - Items to add to the value of the "content" property
      • withContent

        public Simple.Builder<_B> withContent​(Object... content)
        Sets the new value of "content" (any previous value will be replaced)
        Parameters:
        content - New value of the "content" property.
      • withType

        public Simple.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 Simple.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 Simple.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.
      • withArcrole

        public Simple.Builder<_B> withArcrole​(String arcrole)
        Sets the new value of "arcrole" (any previous value will be replaced)
        Parameters:
        arcrole - New value of the "arcrole" property.
      • withTitle

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

        public Simple.Builder<_B> withShow​(ShowType show)
        Sets the new value of "show" (any previous value will be replaced)
        Parameters:
        show - New value of the "show" property.
      • withActuate

        public Simple.Builder<_B> withActuate​(ActuateType actuate)
        Sets the new value of "actuate" (any previous value will be replaced)
        Parameters:
        actuate - New value of the "actuate" property.
      • build

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