Class PageList

java.lang.Object
com.azure.storage.blob.models.PageList
All Implemented Interfaces:
com.azure.xml.XmlSerializable<PageList>

public final class PageList extends Object implements com.azure.xml.XmlSerializable<PageList>
the list of pages.
  • Constructor Details

    • PageList

      public PageList()
      Creates an instance of PageList class.
  • Method Details

    • getPageRange

      public List<PageRange> getPageRange()
      Get the pageRange property: The PageRange property.
      Returns:
      the pageRange value.
    • setPageRange

      public PageList setPageRange(List<PageRange> pageRange)
      Set the pageRange property: The PageRange property.
      Parameters:
      pageRange - the pageRange value to set.
      Returns:
      the PageList object itself.
    • getClearRange

      public List<ClearRange> getClearRange()
      Get the clearRange property: The ClearRange property.
      Returns:
      the clearRange value.
    • setClearRange

      public PageList setClearRange(List<ClearRange> clearRange)
      Set the clearRange property: The ClearRange property.
      Parameters:
      clearRange - the clearRange value to set.
      Returns:
      the PageList object itself.
    • toXml

      public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter) throws XMLStreamException
      Specified by:
      toXml in interface com.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 interface com.azure.xml.XmlSerializable<PageList>
      Throws:
      XMLStreamException
    • fromXml

      public static PageList fromXml(com.azure.xml.XmlReader xmlReader) throws XMLStreamException
      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.