public abstract static class Attribute.Builder<T extends Attribute,B extends Attribute.Builder<T,B>> extends BaseAttribute.Builder<Attribute,Attribute.Builder<T,B>>
Attribute
.Constructor and Description |
---|
Attribute.Builder(Attribute toCopy)
Constructs a builder by copying values from an existing object.
|
Attribute.Builder(int startOffset,
int endOffset)
Constructs a builder with offsets.
|
Modifier and Type | Method and Description |
---|---|
B |
endOffset(int endOffset)
Specifies the end character offset.
|
B |
setEndOffset(int endOffset)
Deprecated.
use
endOffset(int) |
B |
startOffset(int startOffset)
Specifies the start character offset.
|
extendedProperties, extendedProperty
public Attribute.Builder(int startOffset, int endOffset)
startOffset
- start characters offsetendOffset
- end character offsetpublic Attribute.Builder(Attribute toCopy)
toCopy
- the object to copypublic B startOffset(int startOffset)
startOffset
- the start character offsetpublic B endOffset(int endOffset)
endOffset
- the end offset@Deprecated public B setEndOffset(int endOffset)
endOffset(int)
endOffset
- the end offsetCopyright © 2016 Basis Technology Corporation. All Rights Reserved.