Package org.w3.xlink
Class LocatorType.Builder<_B>
- java.lang.Object
-
- org.w3.xlink.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 Summary
Fields Modifier and Type Field Description protected _B_parentBuilderprotected LocatorType_storedValue
-
Constructor Summary
Constructors Constructor Description Builder(_B _parentBuilder, LocatorType _other, boolean _copy)Builder(_B _parentBuilder, LocatorType _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TitleEltType.Builder<? extends LocatorType.Builder<_B>>addTitle()Returns a new builder to build an additional value of the "Title" property.LocatorType.Builder<_B>addTitle(Iterable<? extends TitleEltType> title)Adds the given items to the value of "title"LocatorType.Builder<_B>addTitle(TitleEltType... title)Adds the given items to the value of "title"LocatorTypebuild()LocatorType.Builder<_B>copyOf(LocatorType _other)LocatorType.Builder<_B>copyOf(LocatorType.Builder _other)_Bend()protected <_P extends LocatorType>
_Pinit(_P _product)LocatorType.Builder<_B>withHref(String href)Sets the new value of "href" (any previous value will be replaced)LocatorType.Builder<_B>withLabel(String label)Sets the new value of "label" (any previous value will be replaced)LocatorType.Builder<_B>withLocatorTitle(String locatorTitle)Sets the new value of "locatorTitle" (any previous value will be replaced)LocatorType.Builder<_B>withRole(String role)Sets the new value of "role" (any previous value will be replaced)LocatorType.Builder<_B>withTitle(Iterable<? extends TitleEltType> title)Sets the new value of "title" (any previous value will be replaced)LocatorType.Builder<_B>withTitle(TitleEltType... title)Sets the new value of "title" (any previous value will be replaced)LocatorType.Builder<_B>withType(TypeType type)Sets the new value of "type" (any previous value will be replaced)
-
-
-
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.
-
addTitle
public TitleEltType.Builder<? extends LocatorType.Builder<_B>> addTitle()
Returns a new builder to build an additional value of the "Title" property. UseTitleEltType.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "Title" property.
Use
TitleEltType.Builder.end()to return to the current builder.
-
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:
buildin interfacecom.kscs.util.jaxb.Buildable
-
copyOf
public LocatorType.Builder<_B> copyOf(LocatorType _other)
-
copyOf
public LocatorType.Builder<_B> copyOf(LocatorType.Builder _other)
-
-