Package com.azure.storage.blob.models
Class PageList
java.lang.Object
com.azure.storage.blob.models.PageList
- All Implemented Interfaces:
com.azure.xml.XmlSerializable<PageList>
the list of pages.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PageList
fromXml
(com.azure.xml.XmlReader xmlReader) Reads an instance of PageList from the XmlReader.static PageList
Reads an instance of PageList from the XmlReader.Get the clearRange property: The ClearRange property.Get the pageRange property: The PageRange property.setClearRange
(List<ClearRange> clearRange) Set the clearRange property: The ClearRange property.setPageRange
(List<PageRange> pageRange) Set the pageRange property: The PageRange property.com.azure.xml.XmlWriter
toXml
(com.azure.xml.XmlWriter xmlWriter) com.azure.xml.XmlWriter
-
Constructor Details
-
PageList
public PageList()Creates an instance of PageList class.
-
-
Method Details
-
getPageRange
Get the pageRange property: The PageRange property.- Returns:
- the pageRange value.
-
setPageRange
Set the pageRange property: The PageRange property.- Parameters:
pageRange
- the pageRange value to set.- Returns:
- the PageList object itself.
-
getClearRange
Get the clearRange property: The ClearRange property.- Returns:
- the clearRange value.
-
setClearRange
Set the clearRange property: The ClearRange property.- Parameters:
clearRange
- the clearRange value to set.- Returns:
- the PageList object itself.
-
toXml
- Specified by:
toXml
in interfacecom.azure.xml.XmlSerializable<PageList>
- Throws:
XMLStreamException
-
toXml
public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter, String rootElementName) throws XMLStreamException - Specified by:
toXml
in interfacecom.azure.xml.XmlSerializable<PageList>
- Throws:
XMLStreamException
-
fromXml
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(com.azure.xml.XmlReader xmlReader, String rootElementName) throws XMLStreamException 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.
-