Class AjxFormat.Segment

Object
   |
   +--AjxFormat.Segment
Direct Known Subclasses:
AjxDateFormat.DateSegment, AjxDateFormat.TimeSegment, AjxNumberFormat.NumberSegment, AjxFormat.TextSegment, AjxMessageFormat.MessageSegment

class AjxFormat.Segment

Defined in AjxText.js


Constructor Summary
AjxFormat.Segment (format, s)
           
 
Method Summary
 Object format(o)
          
 void parse(o, s, i)
           Parses the string at the given index, initializes the parse object (as appropriate), and returns the new index within the string for the next parsing step.
 Object toString()
          
<static> Object _parseInt(o, f, adjust, s, index, fixedlen)
           Parses an integer at the offset of the given string and calls a method on the specified object.
<static> Object _parseLiteral(literal, s, index)
          
<static> Object _parseLiterals(literals, s, index)
          

Constructor Detail

AjxFormat.Segment

AjxFormat.Segment(format, s)

Method Detail

format

Object format(o)

parse

void parse(o, s, i)

toString

Object toString()

_parseInt

<static> Object _parseInt(o, f, adjust, s, index, fixedlen)

_parseLiteral

<static> Object _parseLiteral(literal, s, index)

_parseLiterals

<static> Object _parseLiterals(literals, s, index)


Documentation generated by JSDoc on Thu Apr 27 13:58:41 2006