PageRange Class
- java.
lang. Object - com.
azure. storage. blob. models. PageRange
- com.
Implements
public final class PageRange
implements XmlSerializable<PageRange>
The PageRange model.
Constructor Summary
Constructor | Description |
---|---|
PageRange() |
Creates an instance of Page |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Page |
fromXml(XmlReader xmlReader)
Reads an instance of Page |
static
Page |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Page |
long |
getEnd()
Get the end property: The End property. |
long |
getStart()
Get the start property: The Start property. |
Page |
setEnd(long end)
Set the end property: The End property. |
Page |
setStart(long start)
Set the start property: The Start property. |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
PageRange
public PageRange()
Creates an instance of PageRange class.
Method Details
fromXml
public static PageRange fromXml(XmlReader xmlReader)
Reads an instance of PageRange from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static PageRange fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of PageRange from the XmlReader.
Parameters:
Returns:
Throws:
getEnd
public long getEnd()
Get the end property: The End property.
Returns:
getStart
public long getStart()
Get the start property: The Start property.
Returns:
setEnd
public PageRange setEnd(long end)
Set the end property: The End property.
Parameters:
Returns:
setStart
public PageRange setStart(long start)
Set the start property: The Start property.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java