共用方式為


PageList Class

  • java.lang.Object
    • com.azure.storage.blob.models.PageList

Implements

public final class PageList
implements XmlSerializable<PageList>

the list of pages.

Constructor Summary

Constructor Description
PageList()

Creates an instance of PageList class.

Method Summary

Modifier and Type Method and Description
static PageList fromXml(XmlReader xmlReader)

Reads an instance of PageList from the XmlReader.

static PageList fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of PageList from the XmlReader.

List<ClearRange> getClearRange()

Get the clearRange property: The ClearRange property.

List<PageRange> getPageRange()

Get the pageRange property: The PageRange property.

PageList setClearRange(List<ClearRange> clearRange)

Set the clearRange property: The ClearRange property.

PageList setPageRange(List<PageRange> pageRange)

Set the pageRange property: The PageRange property.

XmlWriter toXml(XmlWriter xmlWriter)
XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)

Methods inherited from java.lang.Object

Constructor Details

PageList

public PageList()

Creates an instance of PageList class.

Method Details

fromXml

public static PageList fromXml(XmlReader xmlReader)

Reads an instance of PageList from the XmlReader.

Parameters:

xmlReader - The XmlReader being read.

Returns:

An instance of PageList if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.

Throws:

XMLStreamException

- If an error occurs while reading the PageList.

fromXml

public static PageList fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of PageList from the XmlReader.

Parameters:

xmlReader - The XmlReader being read.
rootElementName - Optional root element name to override the default defined by the model. Used to support cases where the model can deserialize from different root element names.

Returns:

An instance of PageList if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.

Throws:

XMLStreamException

- If an error occurs while reading the PageList.

getClearRange

public List getClearRange()

Get the clearRange property: The ClearRange property.

Returns:

the clearRange value.

getPageRange

public List getPageRange()

Get the pageRange property: The PageRange property.

Returns:

the pageRange value.

setClearRange

public PageList setClearRange(List clearRange)

Set the clearRange property: The ClearRange property.

Parameters:

clearRange - the clearRange value to set.

Returns:

the PageList object itself.

setPageRange

public PageList setPageRange(List pageRange)

Set the pageRange property: The PageRange property.

Parameters:

pageRange - the pageRange value to set.

Returns:

the PageList object itself.

toXml

public XmlWriter toXml(XmlWriter xmlWriter)

Parameters:

xmlWriter

Throws:

toXml

public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)

Parameters:

xmlWriter
rootElementName

Throws:

Applies to