|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--AjxFormat
Defined in AjxText.js
Nested Class Summary | |
<static class> |
AjxFormat.FormatException |
<static class> |
AjxFormat.FormattingException |
<static class> |
AjxFormat.ParsingException |
<static class> |
AjxFormat.Segment |
<static class> |
AjxFormat.TextSegment |
Constructor Summary | |
AjxFormat
(pattern)
Base class for all formats. |
Method Summary | |
void
|
_createParseObject(s)
Creates the object that is initialized by parsing Note: This must be implemented by sub-classes. |
Object
|
clone()
Returns a copy of this format. |
Object
|
format(object)
This method does not need to be overridden unless the subclass doesn't use format segments and takes complete responsibility for formatting. |
Object
|
getSegments()
Returns an array of segments that comprise this format. |
Object
|
parse(s)
Parses the given string according to this format's pattern and returns an object. |
Object
|
toPattern()
Returns a string pattern for this format. |
Object
|
toString()
Returns string representation of this object. |
<static> Object
|
_zeroPad(s, length, zeroChar, rightSide)
|
Constructor Detail |
AjxFormat(pattern)
format
method which
returns the formatted string.
Method Detail |
void _createParseObject(s)
Note: This must be implemented by sub-classes.
Object clone()
Object format(object)
Object getSegments()
Note:
This method is specific to this implementation and does not follow
the format classes found in the java.text
package.
Object parse(s)
Note:
The default implementation of this method assumes that the sub-class
has implemented the _createParseObject
method.
Object toPattern()
Object toString()
<static> Object _zeroPad(s, length, zeroChar, rightSide)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |