Java Doc for Messages.java in  » 6.0-JDK-Modules » j2me » com » sun » perseus » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » com.sun.perseus.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.perseus.model.Messages

Messages
final class Messages (Code)

version:
   $Id: Messages.java,v 1.5 2006/06/29 10:47:32 ln156897 Exp $


Field Summary
static  StringERROR_ATTRIBUTE_NOT_ADDITIVE_BY
     Used when/if trying to define by animation on a trait that does not have an additive type.
static  StringERROR_ATTRIBUTE_NOT_ADDITIVE_FROM_BY
     Used when/if trying to define from-by animation on a trait that does not have an additive type.
final public static  StringERROR_CANNOT_INSERT_DOCUMENT_NODE
     Used when trying to insert the Document node under another node.
final public static  StringERROR_CANNOT_INSERT_FROM_OTHER_DOCUMENT
     Used when trying to insert a node which comes from another Document.
public static  StringERROR_CANNOT_MODIFY_ID
     Used when trying to set an id on an element which already has an id.
final public static  StringERROR_CANNOT_REMOVE_NODE_WITH_ID
     Used when trying to remove a node which has an id or which has descendants with ids.
final public static  StringERROR_CHILD_NOT_ALLOWED
     Used when trying to insert a node of an incompatible type.
public static  StringERROR_DUPLICATE_ID_VALUE
     Used when trying to set an id to a value already taken by another element.
static  StringERROR_INCOMPATIBLE_FROM_BY
     Used when/if trying to define a from-by animation with incompatible from and by values.
final public static  StringERROR_INSERTING_ANCESTOR
     Used when trying to insert an node's ancestor under the node.
final public static  StringERROR_INSERTING_DOCUMENT_ELEMENT
     Used when trying to insert the document element under another node.
final public static  StringERROR_INSERTING_UNDER_DOCUMENT
     Used when trying to insert a node under the Document node.
final public static  StringERROR_INVALID_ANIMATION_CONFIGURATION
     Used when an animation has an invalid configuration, for example, if there is no to, from, by or values attribute defined.
final public static  StringERROR_INVALID_ANIMATION_FROM_ANIM
     Used to create the error description when a from animation does not specify a to or a by attribyte.
final public static  StringERROR_INVALID_ANIMATION_KEY_SPLINES
    
final public static  StringERROR_INVALID_ANIMATION_KEY_TIMES
     Used to create an error description when an animations' keyTimes attribute is incompatible with the number of values it defines.
final public static  StringERROR_INVALID_ANIMATION_NO_VALUES
     Used to create the error description when an animation does not specify any of the to, from, by or values attribute.
public static  StringERROR_INVALID_MPATH_HREF
     Used when the xlink:href attribute on an mpath element is invalid (i.e., when there is no element with that id or the value is not a local reference.
final public static  StringERROR_INVALID_PAINT_SERVER_REFERENCE
     Used when a reference to a paint server does not point to a paint server element.
final public static  StringERROR_INVALID_PARAMETER_VALUE
     Used when invoking the given method on the given interface with an invalid parameter value.
static  StringERROR_INVALID_STATE
     Error when a method is called while the target object is in the wrong state.
final public static  StringERROR_INVALID_TRAIT_VALUE
     Used when trying to set a trait to an illegal value.
public static  StringERROR_MISSING_MPATH_HREF
     Used when the xlink:href attribute is missing on an mpath element.
static  StringERROR_MISSING_REFERENCE
     The error code used when the xlink:href attribute is unspecified on an element which requires it.
public static  StringERROR_NON_SVG_RESOURCE
     Used when trying to load a file which is not an SVG resource.
final public static  StringERROR_NOT_A_CHILD
     Used when trying to remove a child which is not a child of the target node.
final public static  StringERROR_OUT_OF_BOUND_PARAMETER_VALUE
     Used when invoking the given method on the given interface with an out of bound parameter value.
final public static  StringERROR_READ_ONLY_TRAIT
     Used when trying to set a read-only trait.
final public static  StringERROR_REF_NODE_NOT_A_CHILD
     Used in Node.insertBefore when the refChild is not a child of the target node.
final public static  StringERROR_REMOVE_CHILD_NOT_SUPPORTED
     Used when trying to remove a child on a node which does not support child removal (like the Document node).
public static  StringERROR_TRAIT_NOT_ANIMATABLE
     Used when trying to create an animation for a trait that is not animatable.
final public static  StringERROR_TRAIT_TYPE_MISMATCH
     Used when trying to get a trait with the wrong type.
final public static  StringERROR_TRAIT_TYPE_NS_MISMATCH
     Used when trying to get a trait with the wrong type.
static  StringERROR_UNRESOLVED_REFERENCES
     The error code used when there are unresolved href references in the content.
static  StringERROR_UNSPECIFIED_ATTRIBUTE_NAME
     Used when the attributeName attribute is not specified on an animation element.
final public static  StringERROR_UNSUPPORTED_TRAIT
     Used when a trait is not supported.
final protected static  StringRESOURCES
     The error messages bundle class name.
protected static  MessagesSupportmessagesSupport
     The localizable support for the error messages.


Method Summary
public static  StringformatMessage(String key, Object[] args)
     Formats the message identified by key with the input arguments.

Field Detail
ERROR_ATTRIBUTE_NOT_ADDITIVE_BY
static String ERROR_ATTRIBUTE_NOT_ADDITIVE_BY(Code)
Used when/if trying to define by animation on a trait that does not have an additive type. {0} : the traitName {1} : the traitNamespace {2} : the animation localName {3} : the animation namespace URI.



ERROR_ATTRIBUTE_NOT_ADDITIVE_FROM_BY
static String ERROR_ATTRIBUTE_NOT_ADDITIVE_FROM_BY(Code)
Used when/if trying to define from-by animation on a trait that does not have an additive type. {0} : the traitName {1} : the traitNamespace {2} : the animation localName {3} : the animation namespace URI.



ERROR_CANNOT_INSERT_DOCUMENT_NODE
final public static String ERROR_CANNOT_INSERT_DOCUMENT_NODE(Code)
Used when trying to insert the Document node under another node.



ERROR_CANNOT_INSERT_FROM_OTHER_DOCUMENT
final public static String ERROR_CANNOT_INSERT_FROM_OTHER_DOCUMENT(Code)
Used when trying to insert a node which comes from another Document.



ERROR_CANNOT_MODIFY_ID
public static String ERROR_CANNOT_MODIFY_ID(Code)
Used when trying to set an id on an element which already has an id. {0} : the current id on the element. {1} : the new id that cannot be set. {2} : the element's local name. {3} : the element's namespace.



ERROR_CANNOT_REMOVE_NODE_WITH_ID
final public static String ERROR_CANNOT_REMOVE_NODE_WITH_ID(Code)
Used when trying to remove a node which has an id or which has descendants with ids.



ERROR_CHILD_NOT_ALLOWED
final public static String ERROR_CHILD_NOT_ALLOWED(Code)
Used when trying to insert a node of an incompatible type. {0} : localName for the inserted node {1} : namespaceURI for the inserted node {2} : localName fot the target parent node {3} : namespaceURI for the target parent node.



ERROR_DUPLICATE_ID_VALUE
public static String ERROR_DUPLICATE_ID_VALUE(Code)
Used when trying to set an id to a value already taken by another element. {0} : the duplicate id. {1} : the element's local name. {2} : the element's namespace uri. {3} : the existing element's local name (i.e., the element which has the id already). {4} : the existing element's namespace.



ERROR_INCOMPATIBLE_FROM_BY
static String ERROR_INCOMPATIBLE_FROM_BY(Code)
Used when/if trying to define a from-by animation with incompatible from and by values. {0} : the traitName {1} : the traitNamespace {2} : the animation localName {3} : the animation namespace URI. {4} : the from value {5} : the to value.



ERROR_INSERTING_ANCESTOR
final public static String ERROR_INSERTING_ANCESTOR(Code)
Used when trying to insert an node's ancestor under the node.



ERROR_INSERTING_DOCUMENT_ELEMENT
final public static String ERROR_INSERTING_DOCUMENT_ELEMENT(Code)
Used when trying to insert the document element under another node.



ERROR_INSERTING_UNDER_DOCUMENT
final public static String ERROR_INSERTING_UNDER_DOCUMENT(Code)
Used when trying to insert a node under the Document node.



ERROR_INVALID_ANIMATION_CONFIGURATION
final public static String ERROR_INVALID_ANIMATION_CONFIGURATION(Code)
Used when an animation has an invalid configuration, for example, if there is no to, from, by or values attribute defined. {0} : target element id (may be null) {1} : trait namespace {2} : trait name {3} : target element namespace {4} : target element local name {5} : animation id {6} : animation namespace {7} : animation local name {8} : error description



ERROR_INVALID_ANIMATION_FROM_ANIM
final public static String ERROR_INVALID_ANIMATION_FROM_ANIM(Code)
Used to create the error description when a from animation does not specify a to or a by attribyte.



ERROR_INVALID_ANIMATION_KEY_SPLINES
final public static String ERROR_INVALID_ANIMATION_KEY_SPLINES(Code)
Used to create an error description when an animations' keySplines attribute is incompatible with animation keyTimes {0} : the keySplines attribute value {1} : the keyTimes attribute value



ERROR_INVALID_ANIMATION_KEY_TIMES
final public static String ERROR_INVALID_ANIMATION_KEY_TIMES(Code)
Used to create an error description when an animations' keyTimes attribute is incompatible with the number of values it defines. {0} : the keyTimes attribute value



ERROR_INVALID_ANIMATION_NO_VALUES
final public static String ERROR_INVALID_ANIMATION_NO_VALUES(Code)
Used to create the error description when an animation does not specify any of the to, from, by or values attribute.



ERROR_INVALID_MPATH_HREF
public static String ERROR_INVALID_MPATH_HREF(Code)
Used when the xlink:href attribute on an mpath element is invalid (i.e., when there is no element with that id or the value is not a local reference. {0} : the invalid href value.



ERROR_INVALID_PAINT_SERVER_REFERENCE
final public static String ERROR_INVALID_PAINT_SERVER_REFERENCE(Code)
Used when a reference to a paint server does not point to a paint server element. {0} : the invalid reference value {1} : the invalid reference namespace URI. {2} : the invalide reference local name



ERROR_INVALID_PARAMETER_VALUE
final public static String ERROR_INVALID_PARAMETER_VALUE(Code)
Used when invoking the given method on the given interface with an invalid parameter value. {0} : interface name. {1} : method name. {2} : parameter name. {3} : value.



ERROR_INVALID_STATE
static String ERROR_INVALID_STATE(Code)
Error when a method is called while the target object is in the wrong state. {0} : the target object class name. {1} : the target object's current state. {2} : the method name {3} : the valid state(s) for the method.



ERROR_INVALID_TRAIT_VALUE
final public static String ERROR_INVALID_TRAIT_VALUE(Code)
Used when trying to set a trait to an illegal value. {0} : trait name {1} : invalid value {2} : localName {3} : namespaceURI



ERROR_MISSING_MPATH_HREF
public static String ERROR_MISSING_MPATH_HREF(Code)
Used when the xlink:href attribute is missing on an mpath element.



ERROR_MISSING_REFERENCE
static String ERROR_MISSING_REFERENCE(Code)
The error code used when the xlink:href attribute is unspecified on an element which requires it. {0} = the element's namespace URI {1} = the element's local name. {2} = the element's id



ERROR_NON_SVG_RESOURCE
public static String ERROR_NON_SVG_RESOURCE(Code)
Used when trying to load a file which is not an SVG resource. {0} : the invalid SVG file URI.



ERROR_NOT_A_CHILD
final public static String ERROR_NOT_A_CHILD(Code)
Used when trying to remove a child which is not a child of the target node.



ERROR_OUT_OF_BOUND_PARAMETER_VALUE
final public static String ERROR_OUT_OF_BOUND_PARAMETER_VALUE(Code)
Used when invoking the given method on the given interface with an out of bound parameter value. {0} : interface name. {1} : method name. {2} : parameter name. {3} : value.



ERROR_READ_ONLY_TRAIT
final public static String ERROR_READ_ONLY_TRAIT(Code)
Used when trying to set a read-only trait. {0} : trait name {1} : localName {2} : namespaceURI



ERROR_REF_NODE_NOT_A_CHILD
final public static String ERROR_REF_NODE_NOT_A_CHILD(Code)
Used in Node.insertBefore when the refChild is not a child of the target node.



ERROR_REMOVE_CHILD_NOT_SUPPORTED
final public static String ERROR_REMOVE_CHILD_NOT_SUPPORTED(Code)
Used when trying to remove a child on a node which does not support child removal (like the Document node). {0} : localName {1} : namespaceURI



ERROR_TRAIT_NOT_ANIMATABLE
public static String ERROR_TRAIT_NOT_ANIMATABLE(Code)
Used when trying to create an animation for a trait that is not animatable. {0} : the trait namespace URI {1} : the trait name {2} : the element's namespace URI {3} : the element's local name.



ERROR_TRAIT_TYPE_MISMATCH
final public static String ERROR_TRAIT_TYPE_MISMATCH(Code)
Used when trying to get a trait with the wrong type. {0} : trait name. {1} : invalid type. {2} : localName {3} : namespaceURI.



ERROR_TRAIT_TYPE_NS_MISMATCH
final public static String ERROR_TRAIT_TYPE_NS_MISMATCH(Code)
Used when trying to get a trait with the wrong type. {0} : trait name. {1} : trait namespace. {2} : invalid type. {3} : localName {4} : namespaceURI.



ERROR_UNRESOLVED_REFERENCES
static String ERROR_UNRESOLVED_REFERENCES(Code)
The error code used when there are unresolved href references in the content. {0} = the list of unresolved hrefs



ERROR_UNSPECIFIED_ATTRIBUTE_NAME
static String ERROR_UNSPECIFIED_ATTRIBUTE_NAME(Code)
Used when the attributeName attribute is not specified on an animation element. {0} : the animation element's id {1} : the animation element's local name. {2} : the animation element's namespace URI.



ERROR_UNSUPPORTED_TRAIT
final public static String ERROR_UNSUPPORTED_TRAIT(Code)
Used when a trait is not supported. {0} : trait name. {1} : trait namespace. {2} : localName. {3} : namespaceURI.



RESOURCES
final protected static String RESOURCES(Code)
The error messages bundle class name.



messagesSupport
protected static MessagesSupport messagesSupport(Code)
The localizable support for the error messages.





Method Detail
formatMessage
public static String formatMessage(String key, Object[] args)(Code)
Formats the message identified by key with the input arguments.
Parameters:
  key - the message's key
Parameters:
  args - the arguments used to format the message the formatted message



Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.