public interface HasOrdinalPosition extends Document
Document
implementations that implement the
getOrdinalPosition()
method.Modifier and Type | Method and Description |
---|---|
default int |
getOrdinalPosition()
Returns the position to use when ordering this node.
|
static HasOrdinalPosition |
of(Document document)
Returns a wrapper of the specified document that implements the
HasOrdinalPosition trait. |
ancestors, children, children, get, getAsBoolean, getAsDouble, getAsInt, getAsLong, getAsString, getData, getParent, put
default int getOrdinalPosition()
static HasOrdinalPosition of(Document document)
HasOrdinalPosition
trait. If the specified document already
implements the trait, it is returned unwrapped.document
- the document to wrapCopyright © 2019 Speedment, Inc.. All rights reserved.