|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.ResourceBundle
java.util.ListResourceBundle
org.apache.xml.res.XMLErrorResources
org.apache.xml.res.XMLErrorResources_sv
public class XMLErrorResources_sv
Set up error messages. We build a two dimensional array of message keys and message strings. In order to add a new message here, you need to first add a String constant. And you need to enter key, value pair as part of the contents array. You also need to update MAX_CODE for error strings and MAX_WARNING for warnings ( Needed for only information purpose )
| Field Summary | |
|---|---|
static int |
MAX_CODE
Maximum error messages, this is needed to keep track of the number of messages. |
static int |
MAX_MESSAGES
Maximum total warnings and error messages. |
static int |
MAX_OTHERS
Maximum misc strings. |
static int |
MAX_WARNING
Maximum warnings, this is needed to keep track of the number of warnings. |
| Fields inherited from class java.util.ResourceBundle |
|---|
parent |
| Constructor Summary | |
|---|---|
XMLErrorResources_sv()
|
|
| Method Summary | |
|---|---|
java.lang.Object[][] |
getContents()
Get the lookup table for error messages |
| Methods inherited from class org.apache.xml.res.XMLErrorResources |
|---|
loadResourceBundle |
| Methods inherited from class java.util.ListResourceBundle |
|---|
getKeys, handleGetObject |
| Methods inherited from class java.util.ResourceBundle |
|---|
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_CODE
public static final int MAX_WARNING
public static final int MAX_OTHERS
public static final int MAX_MESSAGES
| Constructor Detail |
|---|
public XMLErrorResources_sv()
| Method Detail |
|---|
public java.lang.Object[][] getContents()
getContents in class XMLErrorResources
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||