Edit in GitHubLog an issue

XmlStories

A collection of xml stories.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the XmlStory.


XmlStory item( Mixed index )

Returns the XmlStory with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

XmlStory itemByName( String name )

Returns the XmlStory with the specified name.

Parameters

TypeNameDescription
String
name
The name.

XmlStory itemByID( Number id )

Returns the XmlStory with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

XmlStory itemByRange( Mixed from, Mixed to )

Returns the XmlStories within the specified range.

Parameters

TypeNameDescription
Mixed
from
The XmlStory, index, or name at the beginning of the range. Can accept: XmlStory, Long Integer or String.
Mixed
to
The XmlStory, index, or name at the end of the range. Can accept: XmlStory, Long Integer or String.

XmlStory firstItem()

Returns the first XmlStory in the collection.


XmlStory lastItem()

Returns the last XmlStory in the collection.


XmlStory middleItem()

Returns the middle XmlStory in the collection.


XmlStory previousItem( XmlStory obj )

Returns the XmlStory with the index previous to the specified index.

Parameters

TypeNameDescription
XmlStory
obj
The index of the XmlStory that follows the desired XmlStory.

XmlStory nextItem( XmlStory obj )

Returns the XmlStory whose index follows the specified XmlStory in the collection.

Parameters

TypeNameDescription
XmlStory
obj
The XmlStory whose index comes before the desired XmlStory.

XmlStory anyItem()

Returns any XmlStory in the collection.


XmlStory everyItem()

Returns every XmlStory in the collection.


String toSource()

Generates a string which, if executed, will return the XmlStory.


XmlStory []( Number index )

Returns the XmlStory with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.