code
stringlengths 11
173k
| docstring
stringlengths 2
593k
| func_name
stringlengths 2
189
| language
stringclasses 1
value | repo
stringclasses 844
values | path
stringlengths 11
294
| url
stringlengths 60
339
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public static boolean isConformantSchemeName(String p_scheme)
{
if (p_scheme == null || p_scheme.trim().length() == 0)
{
return false;
}
if (!isAlpha(p_scheme.charAt(0)))
{
return false;
}
char testChar;
for (int i = 1; i < p_scheme.length(); i++)
{
testChar = p_scheme.charAt(i);
if (!isAlphanum(testChar) && SCHEME_CHARACTERS.indexOf(testChar) == -1)
{
return false;
}
}
return true;
} |
Determine whether a scheme conforms to the rules for a scheme name.
A scheme is conformant if it starts with an alphanumeric, and
contains only alphanumerics, '+','-' and '.'.
@param p_scheme The sheme name to check
@return true if the scheme is conformant, false otherwise
| MalformedURIException::isConformantSchemeName | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | Apache-2.0 |
public static boolean isWellFormedAddress(String p_address)
{
if (p_address == null)
{
return false;
}
String address = p_address.trim();
int addrLength = address.length();
if (addrLength == 0 || addrLength > 255)
{
return false;
}
if (address.startsWith(".") || address.startsWith("-"))
{
return false;
}
// rightmost domain label starting with digit indicates IP address
// since top level domain label can only start with an alpha
// see RFC 2396 Section 3.2.2
int index = address.lastIndexOf('.');
if (address.endsWith("."))
{
index = address.substring(0, index).lastIndexOf('.');
}
if (index + 1 < addrLength && isDigit(p_address.charAt(index + 1)))
{
char testChar;
int numDots = 0;
// make sure that 1) we see only digits and dot separators, 2) that
// any dot separator is preceded and followed by a digit and
// 3) that we find 3 dots
for (int i = 0; i < addrLength; i++)
{
testChar = address.charAt(i);
if (testChar == '.')
{
if (!isDigit(address.charAt(i - 1))
|| (i + 1 < addrLength &&!isDigit(address.charAt(i + 1))))
{
return false;
}
numDots++;
}
else if (!isDigit(testChar))
{
return false;
}
}
if (numDots != 3)
{
return false;
}
}
else
{
// domain labels can contain alphanumerics and '-"
// but must start and end with an alphanumeric
char testChar;
for (int i = 0; i < addrLength; i++)
{
testChar = address.charAt(i);
if (testChar == '.')
{
if (!isAlphanum(address.charAt(i - 1)))
{
return false;
}
if (i + 1 < addrLength &&!isAlphanum(address.charAt(i + 1)))
{
return false;
}
}
else if (!isAlphanum(testChar) && testChar != '-')
{
return false;
}
}
}
return true;
} |
Determine whether a string is syntactically capable of representing
a valid IPv4 address or the domain name of a network host. A valid
IPv4 address consists of four decimal digit groups separated by a
'.'. A hostname consists of domain labels (each of which must
begin and end with an alphanumeric but may contain '-') separated
& by a '.'. See RFC 2396 Section 3.2.2.
@param p_address The address string to check
@return true if the string is a syntactically valid IPv4 address
or hostname
| MalformedURIException::isWellFormedAddress | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | Apache-2.0 |
private static boolean isDigit(char p_char)
{
return p_char >= '0' && p_char <= '9';
} |
Determine whether a char is a digit.
@param p_char the character to check
@return true if the char is betweeen '0' and '9', false otherwise
| MalformedURIException::isDigit | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | Apache-2.0 |
private static boolean isHex(char p_char)
{
return (isDigit(p_char) || (p_char >= 'a' && p_char <= 'f')
|| (p_char >= 'A' && p_char <= 'F'));
} |
Determine whether a character is a hexadecimal character.
@param p_char the character to check
@return true if the char is betweeen '0' and '9', 'a' and 'f'
or 'A' and 'F', false otherwise
| MalformedURIException::isHex | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | Apache-2.0 |
private static boolean isAlpha(char p_char)
{
return ((p_char >= 'a' && p_char <= 'z')
|| (p_char >= 'A' && p_char <= 'Z'));
} |
Determine whether a char is an alphabetic character: a-z or A-Z
@param p_char the character to check
@return true if the char is alphabetic, false otherwise
| MalformedURIException::isAlpha | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | Apache-2.0 |
private static boolean isAlphanum(char p_char)
{
return (isAlpha(p_char) || isDigit(p_char));
} |
Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
@param p_char the character to check
@return true if the char is alphanumeric, false otherwise
| MalformedURIException::isAlphanum | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | Apache-2.0 |
private static boolean isReservedCharacter(char p_char)
{
return RESERVED_CHARACTERS.indexOf(p_char) != -1;
} |
Determine whether a character is a reserved character:
';', '/', '?', ':', '@', '&', '=', '+', '$' or ','
@param p_char the character to check
@return true if the string contains any reserved characters
| MalformedURIException::isReservedCharacter | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | Apache-2.0 |
private static boolean isUnreservedCharacter(char p_char)
{
return (isAlphanum(p_char) || MARK_CHARACTERS.indexOf(p_char) != -1);
} |
Determine whether a char is an unreserved character.
@param p_char the character to check
@return true if the char is unreserved, false otherwise
| MalformedURIException::isUnreservedCharacter | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | Apache-2.0 |
private static boolean isURIString(String p_uric)
{
if (p_uric == null)
{
return false;
}
int end = p_uric.length();
char testChar = '\0';
for (int i = 0; i < end; i++)
{
testChar = p_uric.charAt(i);
if (testChar == '%')
{
if (i + 2 >= end ||!isHex(p_uric.charAt(i + 1))
||!isHex(p_uric.charAt(i + 2)))
{
return false;
}
else
{
i += 2;
continue;
}
}
if (isReservedCharacter(testChar) || isUnreservedCharacter(testChar))
{
continue;
}
else
{
return false;
}
}
return true;
} |
Determine whether a given string contains only URI characters (also
called "uric" in RFC 2396). uric consist of all reserved
characters, unreserved characters and escaped characters.
@param p_uric URI string
@return true if the string is comprised of uric, false otherwise
| MalformedURIException::isURIString | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/URI.java | Apache-2.0 |
public static boolean isXML11Space(int c) {
return (c < 0x10000 && (XML11CHARS[c] & MASK_XML11_SPACE) != 0);
} // isXML11Space(int):boolean |
Returns true if the specified character is a space character
as amdended in the XML 1.1 specification.
@param c The character to check.
| XML11Char::isXML11Space | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11Valid(int c) {
return (c < 0x10000 && (XML11CHARS[c] & MASK_XML11_VALID) != 0)
|| (0x10000 <= c && c <= 0x10FFFF);
} // isXML11Valid(int):boolean |
Returns true if the specified character is valid. This method
also checks the surrogate character range from 0x10000 to 0x10FFFF.
<p>
If the program chooses to apply the mask directly to the
<code>XML11CHARS</code> array, then they are responsible for checking
the surrogate character range.
@param c The character to check.
| XML11Char::isXML11Valid | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11Invalid(int c) {
return !isXML11Valid(c);
} // isXML11Invalid(int):boolean |
Returns true if the specified character is invalid.
@param c The character to check.
| XML11Char::isXML11Invalid | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11ValidLiteral(int c) {
return ((c < 0x10000 && ((XML11CHARS[c] & MASK_XML11_VALID) != 0 && (XML11CHARS[c] & MASK_XML11_CONTROL) == 0))
|| (0x10000 <= c && c <= 0x10FFFF));
} // isXML11ValidLiteral(int):boolean |
Returns true if the specified character is valid and permitted outside
of a character reference.
That is, this method will return false for the same set as
isXML11Valid, except it also reports false for "control characters".
@param c The character to check.
| XML11Char::isXML11ValidLiteral | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11Content(int c) {
return (c < 0x10000 && (XML11CHARS[c] & MASK_XML11_CONTENT) != 0) ||
(0x10000 <= c && c <= 0x10FFFF);
} // isXML11Content(int):boolean |
Returns true if the specified character can be considered
content in an external parsed entity.
@param c The character to check.
| XML11Char::isXML11Content | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11InternalEntityContent(int c) {
return (c < 0x10000 && (XML11CHARS[c] & MASK_XML11_CONTENT_INTERNAL) != 0) ||
(0x10000 <= c && c <= 0x10FFFF);
} // isXML11InternalEntityContent(int):boolean |
Returns true if the specified character can be considered
content in an internal parsed entity.
@param c The character to check.
| XML11Char::isXML11InternalEntityContent | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11NameStart(int c) {
return (c < 0x10000 && (XML11CHARS[c] & MASK_XML11_NAME_START) != 0)
|| (0x10000 <= c && c < 0xF0000);
} // isXML11NameStart(int):boolean |
Returns true if the specified character is a valid name start
character as defined by production [4] in the XML 1.1
specification.
@param c The character to check.
| XML11Char::isXML11NameStart | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11Name(int c) {
return (c < 0x10000 && (XML11CHARS[c] & MASK_XML11_NAME) != 0)
|| (c >= 0x10000 && c < 0xF0000);
} // isXML11Name(int):boolean |
Returns true if the specified character is a valid name
character as defined by production [4a] in the XML 1.1
specification.
@param c The character to check.
| XML11Char::isXML11Name | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11NCNameStart(int c) {
return (c < 0x10000 && (XML11CHARS[c] & MASK_XML11_NCNAME_START) != 0)
|| (0x10000 <= c && c < 0xF0000);
} // isXML11NCNameStart(int):boolean |
Returns true if the specified character is a valid NCName start
character as defined by production [4] in Namespaces in XML
1.1 recommendation.
@param c The character to check.
| XML11Char::isXML11NCNameStart | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11NCName(int c) {
return (c < 0x10000 && (XML11CHARS[c] & MASK_XML11_NCNAME) != 0)
|| (0x10000 <= c && c < 0xF0000);
} // isXML11NCName(int):boolean |
Returns true if the specified character is a valid NCName
character as defined by production [5] in Namespaces in XML
1.1 recommendation.
@param c The character to check.
| XML11Char::isXML11NCName | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11NameHighSurrogate(int c) {
return (0xD800 <= c && c <= 0xDB7F);
} |
Returns whether the given character is a valid
high surrogate for a name character. This includes
all high surrogates for characters [0x10000-0xEFFFF].
In other words everything excluding planes 15 and 16.
@param c The character to check.
| XML11Char::isXML11NameHighSurrogate | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11ValidName(String name) {
int length = name.length();
if (length == 0)
return false;
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
}
i = 2;
}
else {
return false;
}
}
while (i < length) {
ch = name.charAt(i);
if ( !isXML11Name(ch) ) {
if ( ++i < length && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(i);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11Name(XMLChar.supplemental(ch, ch2)) ) {
return false;
}
}
else {
return false;
}
}
++i;
}
return true;
} // isXML11ValidName(String):boolean |
Check to see if a string is a valid Name according to [5]
in the XML 1.1 Recommendation
@param name string to check
@return true if name is a valid Name
| XML11Char::isXML11ValidName | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11ValidNCName(String ncName) {
int length = ncName.length();
if (length == 0)
return false;
int i = 1;
char ch = ncName.charAt(0);
if( !isXML11NCNameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = ncName.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NCNameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
}
i = 2;
}
else {
return false;
}
}
while (i < length) {
ch = ncName.charAt(i);
if ( !isXML11NCName(ch) ) {
if ( ++i < length && isXML11NameHighSurrogate(ch) ) {
char ch2 = ncName.charAt(i);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NCName(XMLChar.supplemental(ch, ch2)) ) {
return false;
}
}
else {
return false;
}
}
++i;
}
return true;
} // isXML11ValidNCName(String):boolean |
Check to see if a string is a valid NCName according to [4]
from the XML Namespaces 1.1 Recommendation
@param ncName string to check
@return true if name is a valid NCName
| XML11Char::isXML11ValidNCName | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static boolean isXML11ValidNmtoken(String nmtoken) {
int length = nmtoken.length();
if (length == 0)
return false;
for (int i = 0; i < length; ++i ) {
char ch = nmtoken.charAt(i);
if( !isXML11Name(ch) ) {
if ( ++i < length && isXML11NameHighSurrogate(ch) ) {
char ch2 = nmtoken.charAt(i);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11Name(XMLChar.supplemental(ch, ch2)) ) {
return false;
}
}
else {
return false;
}
}
}
return true;
} // isXML11ValidName(String):boolean |
Check to see if a string is a valid Nmtoken according to [7]
in the XML 1.1 Recommendation
@param nmtoken string to check
@return true if nmtoken is a valid Nmtoken
| XML11Char::isXML11ValidNmtoken | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XML11Char.java | Apache-2.0 |
public static String getAbsoluteURIFromRelative(String localPath)
{
if (localPath == null || localPath.length() == 0)
return "";
// If the local path is a relative path, then it is resolved against
// the "user.dir" system property.
String absolutePath = localPath;
if (!isAbsolutePath(localPath))
{
try
{
absolutePath = getAbsolutePathFromRelativePath(localPath);
}
// user.dir not accessible from applet
catch (SecurityException se)
{
return "file:" + localPath;
}
}
String urlString;
if (null != absolutePath)
{
if (absolutePath.startsWith(File.separator))
urlString = "file://" + absolutePath;
else
urlString = "file:///" + absolutePath;
}
else
urlString = "file:" + localPath;
return replaceChars(urlString);
} |
Get an absolute URI from a given relative URI (local path).
<p>The relative URI is a local filesystem path. The path can be
absolute or relative. If it is a relative path, it is resolved relative
to the system property "user.dir" if it is available; if not (i.e. in an
Applet perhaps which throws SecurityException) then we just return the
relative path. The space and backslash characters are also replaced to
generate a good absolute URI.</p>
@param localPath The relative URI to resolve
@return Resolved absolute URI
| SystemIDResolver::getAbsoluteURIFromRelative | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | Apache-2.0 |
private static String getAbsolutePathFromRelativePath(String relativePath)
{
return new File(relativePath).getAbsolutePath();
} |
Return an absolute path from a relative path.
@param relativePath A relative path
@return The absolute path
| SystemIDResolver::getAbsolutePathFromRelativePath | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | Apache-2.0 |
public static boolean isAbsoluteURI(String systemId)
{
/** http://www.ietf.org/rfc/rfc2396.txt
* Authors should be aware that a path segment which contains a colon
* character cannot be used as the first segment of a relative URI path
* (e.g., "this:that"), because it would be mistaken for a scheme name.
**/
/**
* %REVIEW% Can we assume here that systemId is a valid URI?
* It looks like we cannot ( See discussion of this common problem in
* Bugzilla Bug 22777 ).
**/
//"fix" for Bugzilla Bug 22777
if(isWindowsAbsolutePath(systemId)){
return false;
}
final int fragmentIndex = systemId.indexOf('#');
final int queryIndex = systemId.indexOf('?');
final int slashIndex = systemId.indexOf('/');
final int colonIndex = systemId.indexOf(':');
//finding substring before '#', '?', and '/'
int index = systemId.length() -1;
if(fragmentIndex > 0)
index = fragmentIndex;
if((queryIndex > 0) && (queryIndex <index))
index = queryIndex;
if((slashIndex > 0) && (slashIndex <index))
index = slashIndex;
// return true if there is ':' before '#', '?', and '/'
return ((colonIndex >0) && (colonIndex<index));
} |
Return true if the systemId denotes an absolute URI .
@param systemId The systemId string
@return true if the systemId is an an absolute URI
| SystemIDResolver::isAbsoluteURI | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | Apache-2.0 |
public static boolean isAbsolutePath(String systemId)
{
if(systemId == null)
return false;
final File file = new File(systemId);
return file.isAbsolute();
} |
Return true if the local path is an absolute path.
@param systemId The path string
@return true if the path is absolute
| SystemIDResolver::isAbsolutePath | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | Apache-2.0 |
private static boolean isWindowsAbsolutePath(String systemId)
{
if(!isAbsolutePath(systemId))
return false;
// On Windows, an absolute path starts with "[drive_letter]:\".
if (systemId.length() > 2
&& systemId.charAt(1) == ':'
&& Character.isLetter(systemId.charAt(0))
&& (systemId.charAt(2) == '\\' || systemId.charAt(2) == '/'))
return true;
else
return false;
} |
Return true if the local path is a Windows absolute path.
@param systemId The path string
@return true if the path is a Windows absolute path
| SystemIDResolver::isWindowsAbsolutePath | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | Apache-2.0 |
private static String replaceChars(String str)
{
StringBuffer buf = new StringBuffer(str);
int length = buf.length();
for (int i = 0; i < length; i++)
{
char currentChar = buf.charAt(i);
// Replace space with "%20"
if (currentChar == ' ')
{
buf.setCharAt(i, '%');
buf.insert(i+1, "20");
length = length + 2;
i = i + 2;
}
// Replace backslash with forward slash
else if (currentChar == '\\')
{
buf.setCharAt(i, '/');
}
}
return buf.toString();
} |
Replace spaces with "%20" and backslashes with forward slashes in
the input string to generate a well-formed URI string.
@param str The input string
@return The string after conversion
| SystemIDResolver::replaceChars | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | Apache-2.0 |
public static String getAbsoluteURI(String systemId)
{
String absoluteURI = systemId;
if (isAbsoluteURI(systemId))
{
// Only process the systemId if it starts with "file:".
if (systemId.startsWith("file:"))
{
String str = systemId.substring(5);
// Resolve the absolute path if the systemId starts with "file:///"
// or "file:/". Don't do anything if it only starts with "file://".
if (str != null && str.startsWith("/"))
{
if (str.startsWith("///") || !str.startsWith("//"))
{
// A Windows path containing a drive letter can be relative.
// A Unix path starting with "file:/" is always absolute.
int secondColonIndex = systemId.indexOf(':', 5);
if (secondColonIndex > 0)
{
String localPath = systemId.substring(secondColonIndex-1);
try {
if (!isAbsolutePath(localPath))
absoluteURI = systemId.substring(0, secondColonIndex-1) +
getAbsolutePathFromRelativePath(localPath);
}
catch (SecurityException se) {
return systemId;
}
}
}
}
else
{
return getAbsoluteURIFromRelative(systemId.substring(5));
}
return replaceChars(absoluteURI);
}
else
return systemId;
}
else
return getAbsoluteURIFromRelative(systemId);
} |
Take a SystemID string and try to turn it into a good absolute URI.
@param systemId A URI string, which may be absolute or relative.
@return The resolved absolute URI
| SystemIDResolver::getAbsoluteURI | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | Apache-2.0 |
public static String getAbsoluteURI(String urlString, String base)
throws TransformerException
{
if (base == null)
return getAbsoluteURI(urlString);
String absoluteBase = getAbsoluteURI(base);
URI uri = null;
try
{
URI baseURI = new URI(absoluteBase);
uri = new URI(baseURI, urlString);
}
catch (MalformedURIException mue)
{
throw new TransformerException(mue);
}
return replaceChars(uri.toString());
} |
Take a SystemID string and try to turn it into a good absolute URI.
@param urlString SystemID string
@param base The URI string used as the base for resolving the systemID
@return The resolved absolute URI
@throws TransformerException thrown if the string can't be turned into a URI.
| SystemIDResolver::getAbsoluteURI | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SystemIDResolver.java | Apache-2.0 |
public StringToIntTable()
{
m_blocksize = 8;
m_mapSize = m_blocksize;
m_map = new String[m_blocksize];
m_values = new int[m_blocksize];
} |
Default constructor. Note that the default
block size is very small, for small lists.
| StringToIntTable::StringToIntTable | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | Apache-2.0 |
public StringToIntTable(int blocksize)
{
m_blocksize = blocksize;
m_mapSize = blocksize;
m_map = new String[blocksize];
m_values = new int[m_blocksize];
} |
Construct a StringToIntTable, using the given block size.
@param blocksize Size of block to allocate
| StringToIntTable::StringToIntTable | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | Apache-2.0 |
public final int getLength()
{
return m_firstFree;
} |
Get the length of the list.
@return the length of the list
| StringToIntTable::getLength | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | Apache-2.0 |
public final void put(String key, int value)
{
if ((m_firstFree + 1) >= m_mapSize)
{
m_mapSize += m_blocksize;
String newMap[] = new String[m_mapSize];
System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1);
m_map = newMap;
int newValues[] = new int[m_mapSize];
System.arraycopy(m_values, 0, newValues, 0, m_firstFree + 1);
m_values = newValues;
}
m_map[m_firstFree] = key;
m_values[m_firstFree] = value;
m_firstFree++;
} |
Append a string onto the vector.
@param key String to append
@param value The int value of the string
| StringToIntTable::put | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | Apache-2.0 |
public final int get(String key)
{
for (int i = 0; i < m_firstFree; i++)
{
if (m_map[i].equals(key))
return m_values[i];
}
return INVALID_KEY;
} |
Tell if the table contains the given string.
@param key String to look for
@return The String's int value
| StringToIntTable::get | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | Apache-2.0 |
public final int getIgnoreCase(String key)
{
if (null == key)
return INVALID_KEY;
for (int i = 0; i < m_firstFree; i++)
{
if (m_map[i].equalsIgnoreCase(key))
return m_values[i];
}
return INVALID_KEY;
} |
Tell if the table contains the given string. Ignore case.
@param key String to look for
@return The string's int value
| StringToIntTable::getIgnoreCase | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | Apache-2.0 |
public final boolean contains(String key)
{
for (int i = 0; i < m_firstFree; i++)
{
if (m_map[i].equals(key))
return true;
}
return false;
} |
Tell if the table contains the given string.
@param key String to look for
@return True if the string is in the table
| StringToIntTable::contains | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | Apache-2.0 |
public final String[] keys()
{
String [] keysArr = new String[m_firstFree];
for (int i = 0; i < m_firstFree; i++)
{
keysArr[i] = m_map[i];
}
return keysArr;
} |
Return array of keys in the table.
@return Array of strings
| StringToIntTable::keys | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/StringToIntTable.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"The message key ''{0}'' is not in the message class ''{1}''" },
{ MsgKey.BAD_MSGFORMAT,
"The format of message ''{0}'' in message class ''{1}'' failed." },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"The serializer class ''{0}'' does not implement org.xml.sax.ContentHandler." },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"The resource [ {0} ] could not be found.\n {1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"The resource [ {0} ] could not load: {1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"Buffer size <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"Invalid UTF-16 surrogate detected: {0} ?" },
{ MsgKey.ER_OIERROR,
"IO error" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"Cannot add attribute {0} after child nodes or before an element is produced. Attribute will be ignored." },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"Namespace for prefix ''{0}'' has not been declared." },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"Attribute ''{0}'' outside of element." },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"Namespace declaration ''{0}''=''{1}'' outside of element." },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"Could not load ''{0}'' (check CLASSPATH), now using just the defaults" },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"Attempt to output character of integral value {0} that is not represented in specified output encoding of {1}." },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"Could not load the propery file ''{0}'' for output method ''{1}'' (check CLASSPATH)" },
{ MsgKey.ER_INVALID_PORT,
"Invalid port number" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"Port cannot be set when host is null" },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"Host is not a well formed address" },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"The scheme is not conformant." },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"Cannot set scheme from null string" },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"Path contains invalid escape sequence" },
{ MsgKey.ER_PATH_INVALID_CHAR,
"Path contains invalid character: {0}" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"Fragment contains invalid character" },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"Fragment cannot be set when path is null" },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"Fragment can only be set for a generic URI" },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"No scheme found in URI" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"Cannot initialize URI with empty parameters" },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"Fragment cannot be specified in both the path and fragment" },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"Query string cannot be specified in path and query string" },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"Port may not be specified if host is not specified" },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"Userinfo may not be specified if host is not specified" },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"Warning: The version of the output document is requested to be ''{0}''. This version of XML is not supported. The version of the output document will be ''1.0''." },
{ MsgKey.ER_SCHEME_REQUIRED,
"Scheme is required!" },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"The Properties object passed to the SerializerFactory does not have a ''{0}'' property." },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"Warning: The encoding ''{0}'' is not supported by the Java runtime." },
{MsgKey.ER_FEATURE_NOT_FOUND,
"The parameter ''{0}'' is not recognized."},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"The parameter ''{0}'' is recognized but the requested value cannot be set."},
{MsgKey.ER_STRING_TOO_LONG,
"The resulting string is too long to fit in a DOMString: ''{0}''."},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"The value type for this parameter name is incompatible with the expected value type."},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"The output destination for data to be written to was null."},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"An unsupported encoding is encountered."},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"The node could not be serialized."},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"The CDATA Section contains one or more termination markers ']]>'."},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"An instance of the Well-Formedness checker could not be created. The well-formed parameter was set to true but well-formedness checking can not be performed."
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"The node ''{0}'' contains invalid XML characters."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"An invalid XML character (Unicode: 0x{0}) was found in the comment."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"An invalid XML character (Unicode: 0x{0}) was found in the processing instructiondata."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"An invalid XML character (Unicode: 0x{0}) was found in the contents of the CDATASection."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"An invalid XML character (Unicode: 0x{0}) was found in the node''s character data content."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"An invalid XML character(s) was found in the {0} node named ''{1}''."
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"The string \"--\" is not permitted within comments."
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"The value of attribute \"{1}\" associated with an element type \"{0}\" must not contain the ''<'' character."
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"The unparsed entity reference \"&{0};\" is not permitted."
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"The external entity reference \"&{0};\" is not permitted in an attribute value."
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"The prefix \"{0}\" can not be bound to namespace \"{1}\"."
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"The local name of element \"{0}\" is null."
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"The local name of attr \"{0}\" is null."
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"The replacement text of the entity node \"{0}\" contains an element node \"{1}\" with an unbound prefix \"{2}\"."
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"The replacement text of the entity node \"{0}\" contains an attribute node \"{1}\" with an unbound prefix \"{2}\"."
},
{ MsgKey.ER_WRITING_INTERNAL_SUBSET,
"An error occured while writing the internal subset."
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in the serializer.
@xsl.usage internal
public class SerializerMessages extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"\u6d88\u606f\u5bc6\u94a5\u201c{0}\u201d\u4e0d\u5728\u6d88\u606f\u7c7b\u201c{1}\u201d\u4e2d" },
{ MsgKey.BAD_MSGFORMAT,
"\u6d88\u606f\u7c7b\u201c{1}\u201d\u4e2d\u7684\u6d88\u606f\u201c{0}\u201d\u7684\u683c\u5f0f\u65e0\u6548\u3002" },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"\u4e32\u884c\u5668\u7c7b\u201c{0}\u201d\u4e0d\u80fd\u5b9e\u73b0 org.xml.sax.ContentHandler\u3002" },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"\u627e\u4e0d\u5230\u8d44\u6e90 [ {0} ]\u3002\n {1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"\u8d44\u6e90 [ {0} ] \u65e0\u6cd5\u88c5\u5165\uff1a{1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"\u7f13\u51b2\u533a\u5927\u5c0f <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"\u68c0\u6d4b\u5230\u65e0\u6548\u7684 UTF-16 \u8d85\u5927\u5b57\u7b26\u96c6\uff1a{0}\uff1f" },
{ MsgKey.ER_OIERROR,
"IO \u9519\u8bef" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"\u5728\u751f\u6210\u5b50\u8282\u70b9\u4e4b\u540e\u6216\u5728\u751f\u6210\u5143\u7d20\u4e4b\u524d\u65e0\u6cd5\u6dfb\u52a0\u5c5e\u6027 {0}\u3002\u5c06\u5ffd\u7565\u5c5e\u6027\u3002" },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"\u5c1a\u672a\u58f0\u660e\u524d\u7f00\u201c{0}\u201d\u7684\u540d\u79f0\u7a7a\u95f4\u3002" },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"\u5c5e\u6027\u201c{0}\u201d\u5728\u5143\u7d20\u5916\u3002" },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"\u540d\u79f0\u7a7a\u95f4\u58f0\u660e\u201c{0}\u201d=\u201c{1}\u201d\u5728\u5143\u7d20\u5916\u3002" },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"\u65e0\u6cd5\u88c5\u5165\u201c{0}\u201d\uff08\u68c0\u67e5 CLASSPATH\uff09\uff0c\u73b0\u5728\u53ea\u4f7f\u7528\u7f3a\u7701\u503c" },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"\u5c1d\u8bd5\u8f93\u51fa\u6574\u6570\u503c {0}\uff08\u5b83\u4e0d\u662f\u4ee5\u6307\u5b9a\u7684 {1} \u8f93\u51fa\u7f16\u7801\u8868\u793a\uff09\u7684\u5b57\u7b26\u3002" },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"\u65e0\u6cd5\u4e3a\u8f93\u51fa\u65b9\u6cd5\u201c{1}\u201d\u88c5\u5165\u5c5e\u6027\u6587\u4ef6\u201c{0}\u201d\uff08\u68c0\u67e5 CLASSPATH\uff09" },
{ MsgKey.ER_INVALID_PORT,
"\u7aef\u53e3\u53f7\u65e0\u6548" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"\u4e3b\u673a\u4e3a\u7a7a\u65f6\uff0c\u65e0\u6cd5\u8bbe\u7f6e\u7aef\u53e3" },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"\u4e3b\u673a\u4e0d\u662f\u683c\u5f0f\u6b63\u786e\u7684\u5730\u5740" },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"\u6a21\u5f0f\u4e0d\u4e00\u81f4\u3002" },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"\u65e0\u6cd5\u4ece\u7a7a\u5b57\u7b26\u4e32\u8bbe\u7f6e\u6a21\u5f0f" },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"\u8def\u5f84\u5305\u542b\u65e0\u6548\u7684\u8f6c\u4e49\u5e8f\u5217" },
{ MsgKey.ER_PATH_INVALID_CHAR,
"\u8def\u5f84\u5305\u542b\u65e0\u6548\u7684\u5b57\u7b26\uff1a{0}" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"\u7247\u6bb5\u5305\u542b\u65e0\u6548\u7684\u5b57\u7b26" },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"\u8def\u5f84\u4e3a\u7a7a\u65f6\uff0c\u65e0\u6cd5\u8bbe\u7f6e\u7247\u6bb5" },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"\u53ea\u80fd\u4e3a\u7c7b\u5c5e URI \u8bbe\u7f6e\u7247\u6bb5" },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"URI \u4e2d\u627e\u4e0d\u5230\u4efb\u4f55\u6a21\u5f0f" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"\u4e0d\u80fd\u4ee5\u7a7a\u53c2\u6570\u521d\u59cb\u5316 URI" },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"\u8def\u5f84\u548c\u7247\u6bb5\u4e2d\u90fd\u4e0d\u80fd\u6307\u5b9a\u7247\u6bb5" },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"\u8def\u5f84\u548c\u67e5\u8be2\u5b57\u7b26\u4e32\u4e2d\u4e0d\u80fd\u6307\u5b9a\u67e5\u8be2\u5b57\u7b26\u4e32" },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u4e3b\u673a\uff0c\u5219\u4e0d\u53ef\u4ee5\u6307\u5b9a\u7aef\u53e3" },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u4e3b\u673a\uff0c\u5219\u4e0d\u53ef\u4ee5\u6307\u5b9a\u7528\u6237\u4fe1\u606f" },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"\u8b66\u544a\uff1a\u8981\u6c42\u8f93\u51fa\u6587\u6863\u7684\u7248\u672c\u662f\u201c{0}\u201d\u3002\u4e0d\u652f\u6301\u6b64 XML \u7248\u672c\u3002\u8f93\u51fa\u6587\u6863\u7684\u7248\u672c\u5c06\u4f1a\u662f\u201c1.0\u201d\u3002" },
{ MsgKey.ER_SCHEME_REQUIRED,
"\u6a21\u5f0f\u662f\u5fc5\u9700\u7684\uff01" },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"\u4f20\u9012\u7ed9 SerializerFactory \u7684 Properties \u5bf9\u8c61\u4e0d\u5177\u6709\u5c5e\u6027\u201c{0}\u201d\u3002" },
{MsgKey.ER_FEATURE_NOT_FOUND,
"\u672a\u8bc6\u522b\u51fa\u53c2\u6570\u201c{0}\u201d\u3002"},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"\u5df2\u8bc6\u522b\u51fa\u53c2\u6570\u201c{0}\u201d\uff0c\u4f46\u65e0\u6cd5\u8bbe\u7f6e\u8bf7\u6c42\u7684\u503c\u3002"},
{MsgKey.ER_STRING_TOO_LONG,
"\u4ea7\u751f\u7684\u5b57\u7b26\u4e32\u8fc7\u957f\u4e0d\u80fd\u88c5\u5165 DOMString\uff1a\u201c{0}\u201d\u3002"},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"\u6b64\u53c2\u6570\u540d\u79f0\u7684\u503c\u7c7b\u578b\u4e0e\u671f\u671b\u7684\u503c\u7c7b\u578b\u4e0d\u517c\u5bb9\u3002"},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"\u5c06\u8981\u5199\u5165\u6570\u636e\u7684\u8f93\u51fa\u76ee\u6807\u4e3a\u7a7a\u3002"},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"\u9047\u5230\u4e0d\u53d7\u652f\u6301\u7684\u7f16\u7801\u3002"},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"\u65e0\u6cd5\u5c06\u8282\u70b9\u5e8f\u5217\u5316\u3002 "},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"CDATA \u90e8\u5206\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a\u7ec8\u6b62\u6807\u8bb0\u201c]]>\u201d\u3002"},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"\u65e0\u6cd5\u521b\u5efa\u683c\u5f0f\u6b63\u786e\u6027\u68c0\u67e5\u5668\u7684\u5b9e\u4f8b\u3002\u201c\u683c\u5f0f\u6b63\u786e\u201d\u53c2\u6570\u5df2\u8bbe\u7f6e\u4e3a true\uff0c\u4f46\u65e0\u6cd5\u6267\u884c\u683c\u5f0f\u6b63\u786e\u6027\u68c0\u67e5\u3002"
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"\u8282\u70b9\u201c{0}\u201d\u5305\u542b\u65e0\u6548\u7684 XML \u5b57\u7b26\u3002"
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"\u5728\u6ce8\u91ca\u4e2d\u627e\u5230\u65e0\u6548\u7684 XML \u5b57\u7b26 (Unicode: 0x''{0})''\u3002"
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"\u5728\u5904\u7406\u6307\u4ee4\u6570\u636e\u4e2d\u627e\u5230\u65e0\u6548\u7684 XML \u5b57\u7b26 (Unicode: 0x''{0})''\u3002"
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"\u5728 CDATA \u90e8\u5206\u7684\u5185\u5bb9\u4e2d\u627e\u5230\u65e0\u6548\u7684 XML \u5b57\u7b26 (Unicode: 0x''{0})''\u3002"
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"\u5728\u8282\u70b9\u7684\u5b57\u7b26\u6570\u636e\u5185\u5bb9\u4e2d\u627e\u5230\u65e0\u6548\u7684 XML \u5b57\u7b26 (Unicode: 0x''{0})''\u3002"
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"\u540d\u79f0\u4e3a\u201c{1})\u201d\u7684\u201c{0})\u201d\u4e2d\u627e\u5230\u65e0\u6548\u7684 XML \u5b57\u7b26\u3002"
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"\u6ce8\u91ca\u4e2d\u4e0d\u5141\u8bb8\u6709\u5b57\u7b26\u4e32\u201c--\u201d\u3002"
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"\u4e0e\u5143\u7d20\u7c7b\u578b\u201c{0}\u201d\u5173\u8054\u7684\u5c5e\u6027\u201c{1}\u201d\u7684\u503c\u4e0d\u5f97\u5305\u542b\u201c<\u201d\u5b57\u7b26\u3002"
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"\u4e0d\u5141\u8bb8\u6709\u672a\u89e3\u6790\u7684\u5b9e\u4f53\u5f15\u7528\u201c&{0};\u201d\u3002"
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"\u5c5e\u6027\u503c\u4e2d\u4e0d\u5141\u8bb8\u6709\u5916\u90e8\u5b9e\u4f53\u5f15\u7528\u201c&{0};\u201d\u3002"
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"\u524d\u7f00\u201c{0}\u201d\u4e0d\u80fd\u7ed1\u5b9a\u5230\u540d\u79f0\u7a7a\u95f4\u201c{1}\u201d\u3002"
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"\u5143\u7d20\u201c{0}\u201d\u7684\u5c40\u90e8\u540d\u4e3a\u7a7a\u3002"
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"\u5c5e\u6027\u201c{0}\u201d\u7684\u5c40\u90e8\u540d\u4e3a\u7a7a\u3002"
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"\u5b9e\u4f53\u8282\u70b9\u201c{0}\u201d\u7684\u66ff\u4ee3\u6587\u672c\u4e2d\u5305\u542b\u5143\u7d20\u8282\u70b9\u201c{1}\u201d\uff0c\u8be5\u8282\u70b9\u5177\u6709\u672a\u7ed1\u5b9a\u7684\u524d\u7f00\u201c{2}\u201d\u3002"
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"\u5b9e\u4f53\u8282\u70b9\u201c{0}\u201d\u7684\u66ff\u4ee3\u6587\u672c\u4e2d\u5305\u542b\u5c5e\u6027\u8282\u70b9\u201c{1}\u201d\uff0c\u8be5\u8282\u70b9\u5177\u6709\u672a\u7ed1\u5b9a\u7684\u524d\u7f00\u201c{2}\u201d\u3002"
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_zh extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_zh::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_zh.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_zh.java | Apache-2.0 |
public AttList(NamedNodeMap attrs, DOM2Helper dh)
{
m_attrs = attrs;
m_lastIndex = m_attrs.getLength() - 1;
m_dh = dh;
} |
Constructor AttList
@param attrs List of attributes this will contain
@param dh DOMHelper
| AttList::AttList | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public int getLength()
{
return m_attrs.getLength();
} |
Get the number of attribute nodes in the list
@return number of attribute nodes
| AttList::getLength | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public String getURI(int index)
{
String ns = m_dh.getNamespaceOfNode(((Attr) m_attrs.item(index)));
if(null == ns)
ns = "";
return ns;
} |
Look up an attribute's Namespace URI by index.
@param index The attribute index (zero-based).
@return The Namespace URI, or the empty string if none
is available, or null if the index is out of
range.
| AttList::getURI | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public String getLocalName(int index)
{
return m_dh.getLocalNameOfNode(((Attr) m_attrs.item(index)));
} |
Look up an attribute's local name by index.
@param index The attribute index (zero-based).
@return The local name, or the empty string if Namespace
processing is not being performed, or null
if the index is out of range.
| AttList::getLocalName | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public String getQName(int i)
{
return ((Attr) m_attrs.item(i)).getName();
} |
Look up an attribute's qualified name by index.
@param i The attribute index (zero-based).
@return The attribute's qualified name
| AttList::getQName | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public String getType(int i)
{
return "CDATA"; // for the moment
} |
Get the attribute's node type by index
@param i The attribute index (zero-based)
@return the attribute's node type
| AttList::getType | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public String getValue(int i)
{
return ((Attr) m_attrs.item(i)).getValue();
} |
Get the attribute's node value by index
@param i The attribute index (zero-based)
@return the attribute's node value
| AttList::getValue | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public String getType(String name)
{
return "CDATA"; // for the moment
} |
Get the attribute's node type by name
@param name Attribute name
@return the attribute's node type
| AttList::getType | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public String getType(String uri, String localName)
{
return "CDATA"; // for the moment
} |
Look up an attribute's type by Namespace name.
@param uri The Namespace URI, or the empty String if the
name has no Namespace URI.
@param localName The local name of the attribute.
@return The attribute type as a string, or null if the
attribute is not in the list or if Namespace
processing is not being performed.
| AttList::getType | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public String getValue(String name)
{
Attr attr = ((Attr) m_attrs.getNamedItem(name));
return (null != attr)
? attr.getValue() : null;
} |
Look up an attribute's value by name.
@param name The attribute node's name
@return The attribute node's value
| AttList::getValue | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public String getValue(String uri, String localName)
{
Node a=m_attrs.getNamedItemNS(uri,localName);
return (a==null) ? null : a.getNodeValue();
} |
Look up an attribute's value by Namespace name.
@param uri The Namespace URI, or the empty String if the
name has no Namespace URI.
@param localName The local name of the attribute.
@return The attribute value as a string, or null if the
attribute is not in the list.
| AttList::getValue | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public int getIndex(String uri, String localPart)
{
for(int i=m_attrs.getLength()-1;i>=0;--i)
{
Node a=m_attrs.item(i);
String u=a.getNamespaceURI();
if( (u==null ? uri==null : u.equals(uri))
&&
a.getLocalName().equals(localPart) )
return i;
}
return -1;
} |
Look up the index of an attribute by Namespace name.
@param uri The Namespace URI, or the empty string if
the name has no Namespace URI.
@param localPart The attribute's local name.
@return The index of the attribute, or -1 if it does not
appear in the list.
| AttList::getIndex | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public int getIndex(String qName)
{
for(int i=m_attrs.getLength()-1;i>=0;--i)
{
Node a=m_attrs.item(i);
if(a.getNodeName().equals(qName) )
return i;
}
return -1;
} |
Look up the index of an attribute by raw XML 1.0 name.
@param qName The qualified (prefixed) name.
@return The index of the attribute, or -1 if it does not
appear in the list.
| AttList::getIndex | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/AttList.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"La clave de mensaje ''{0}'' no est\u00e1 en la clase de mensaje ''{1}''" },
{ MsgKey.BAD_MSGFORMAT,
"Se ha producido un error en el formato de mensaje ''{0}'' de la clase de mensaje ''{1}''." },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"La clase serializer ''{0}'' no implementa org.xml.sax.ContentHandler." },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"No se ha podido encontrar el recurso [ {0} ].\n {1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"No se ha podido cargar el recurso [ {0} ]: {1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"Tama\u00f1o de almacenamiento intermedio <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"\u00bfSe ha detectado un sustituto UTF-16 no v\u00e1lido: {0}?" },
{ MsgKey.ER_OIERROR,
"Error de ES" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"No se puede a\u00f1adir el atributo {0} despu\u00e9s de nodos hijo o antes de que se produzca un elemento. Se ignorar\u00e1 el atributo." },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"No se ha declarado el espacio de nombres para el prefijo ''{0}''." },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"Atributo ''{0}'' fuera del elemento." },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"Declaraci\u00f3n del espacio de nombres ''{0}''=''{1}'' fuera del elemento." },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"No se ha podido cargar ''{0}'' (compruebe la CLASSPATH), ahora s\u00f3lo se est\u00e1n utilizando los valores predeterminados" },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"Se ha intentado dar salida a un car\u00e1cter del valor integral {0} que no est\u00e1 representado en la codificaci\u00f3n de salida especificada de {1}." },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"No se ha podido cargar el archivo de propiedades ''{0}'' para el m\u00e9todo de salida ''{1}'' (compruebe la CLASSPATH)" },
{ MsgKey.ER_INVALID_PORT,
"N\u00famero de puerto no v\u00e1lido" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"No se puede establecer el puerto si el sistema principal es nulo" },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"El sistema principal no es una direcci\u00f3n bien formada" },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"El esquema no es compatible." },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"No se puede establecer un esquema de una serie nula" },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"La v\u00eda de acceso contiene una secuencia de escape no v\u00e1lida" },
{ MsgKey.ER_PATH_INVALID_CHAR,
"La v\u00eda de acceso contiene un car\u00e1cter no v\u00e1lido: {0}" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"El fragmento contiene un car\u00e1cter no v\u00e1lido" },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"No se puede establecer el fragmento si la v\u00eda de acceso es nula" },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"S\u00f3lo se puede establecer el fragmento para un URI gen\u00e9rico" },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"No se ha encontrado un esquema en el URI" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"No se puede inicializar el URI con par\u00e1metros vac\u00edos" },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"No se puede especificar el fragmento en la v\u00eda de acceso y en el fragmento" },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"No se puede especificar la serie de consulta en la v\u00eda de acceso y en la serie de consulta" },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"No se puede especificar el puerto si no se ha especificado el sistema principal" },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"No se puede especificar la informaci\u00f3n de usuario si no se ha especificado el sistema principal" },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"Aviso: la versi\u00f3n del documento de salida tiene que ser ''{0}''. No se admite esta versi\u00f3n de XML. La versi\u00f3n del documento de salida ser\u00e1 ''1.0''." },
{ MsgKey.ER_SCHEME_REQUIRED,
"\u00a1Se necesita un esquema!" },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"El objeto Properties pasado a SerializerFactory no tiene una propiedad ''{0}''." },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"Aviso: La codificaci\u00f3n ''{0}'' no est\u00e1 soportada por Java Runtime." },
{MsgKey.ER_FEATURE_NOT_FOUND,
"El par\u00e1metro ''{0}'' no se reconoce."},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"Se reconoce el par\u00e1metro ''{0}'' pero no puede establecerse el valor solicitado."},
{MsgKey.ER_STRING_TOO_LONG,
"La serie producida es demasiado larga para ajustarse a DOMString: ''{0}''."},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"El tipo de valor para este nombre de par\u00e1metro es incompatible con el tipo de valor esperado."},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"El destino de salida de escritura de los datos es nulo."},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"Se ha encontrado una codificaci\u00f3n no soportada."},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"No se ha podido serializar el nodo."},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"La secci\u00f3n CDATA contiene uno o m\u00e1s marcadores ']]>' de terminaci\u00f3n."},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"No se ha podido crear una instancia del comprobador de gram\u00e1tica correcta. El par\u00e1metro well-formed se ha establecido en true pero no se puede realizar la comprobaci\u00f3n de gram\u00e1tica correcta."
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"El nodo ''{0}'' contiene caracteres XML no v\u00e1lidos."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"Se ha encontrado un car\u00e1cter XML no v\u00e1lido (Unicode: 0x{0}) en el comentario."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"Se ha encontrado un car\u00e1cter XML no v\u00e1lido (Unicode: 0x{0}) en los datos de la instrucci\u00f3n de proceso."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"Se ha encontrado un car\u00e1cter XML no v\u00e1lido (Unicode: 0x{0}) en el contenido de CDATASection."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"Se ha encontrado un car\u00e1cter XML no v\u00e1lido (Unicode: 0x{0}) en el contenido de datos de caracteres del nodo."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"Se ha encontrado un car\u00e1cter o caracteres XML no v\u00e1lidos en el nodo {0} denominado ''{1}''."
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"No se permite la serie \"--\" dentro de los comentarios."
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"El valor del atributo \"{1}\" asociado a un tipo de elemento \"{0}\" no debe contener el car\u00e1cter ''''<''''."
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"No se permite la referencia de entidad no analizada \"&{0};\"."
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"La referencia de entidad externa \"&{0};\" no est\u00e1 permitida en un valor de atributo."
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"No se puede encontrar el prefijo \"{0}\" en el espacio de nombres \"{1}\"."
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"El nombre local del elemento \"{0}\" es null."
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"El nombre local del atributo \"{0}\" es null."
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"El texto de sustituci\u00f3n del nodo de entidad \"{0}\" contiene un nodo de elemento \"{1}\" con un prefijo no enlazado \"{2}\"."
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"El texto de sustituci\u00f3n del nodo de entidad \"{0}\" contiene un nodo de atributo \"{1}\" con un prefijo no enlazado \"{2}\"."
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_es extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_es::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_es.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_es.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"La clau del missatge ''{0}'' no est\u00e0 a la classe del missatge ''{1}''" },
{ MsgKey.BAD_MSGFORMAT,
"El format del missatge ''{0}'' a la classe del missatge ''{1}'' ha fallat." },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"La classe de serialitzador ''{0}'' no implementa org.xml.sax.ContentHandler." },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"No s''ha trobat el recurs [ {0} ].\n {1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"No s''ha pogut carregar el recurs [ {0} ]: {1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"Grand\u00e0ria del buffer <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"S''ha detectat un suplent UTF-16 no v\u00e0lid: {0} ?" },
{ MsgKey.ER_OIERROR,
"Error d'E/S" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"No es pot afegir l''atribut {0} despr\u00e9s dels nodes subordinats o abans que es produeixi un element. Es passar\u00e0 per alt l''atribut." },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"No s''ha declarat l''espai de noms pel prefix ''{0}''." },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"L''atribut ''{0}'' es troba fora de l''element." },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"La declaraci\u00f3 de l''espai de noms ''{0}''=''{1}'' es troba fora de l''element." },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"No s''ha pogut carregar ''{0}'' (comproveu CLASSPATH), ara s''est\u00e0 fent servir els valors per defecte." },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"S''ha intentat un car\u00e0cter de sortida del valor integral {0} que no est\u00e0 representat a una codificaci\u00f3 de sortida especificada de {1}." },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"No s''ha pogut carregar el fitxer de propietats ''{0}'' del m\u00e8tode de sortida ''{1}'' (comproveu CLASSPATH)" },
{ MsgKey.ER_INVALID_PORT,
"N\u00famero de port no v\u00e0lid" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"El port no es pot establir quan el sistema principal \u00e9s nul" },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"El format de l'adre\u00e7a del sistema principal no \u00e9s el correcte" },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"L'esquema no t\u00e9 conformitat." },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"No es pot establir un esquema des d'una cadena nul\u00b7la" },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"La via d'acc\u00e9s cont\u00e9 una seq\u00fc\u00e8ncia d'escapament no v\u00e0lida" },
{ MsgKey.ER_PATH_INVALID_CHAR,
"La via d''acc\u00e9s cont\u00e9 un car\u00e0cter no v\u00e0lid {0}" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"El fragment cont\u00e9 un car\u00e0cter no v\u00e0lid" },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"El fragment no es pot establir si la via d'acc\u00e9s \u00e9s nul\u00b7la" },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"El fragment nom\u00e9s es pot establir per a un URI gen\u00e8ric" },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"No s'ha trobat cap esquema a l'URI" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"No es pot inicialitzar l'URI amb par\u00e0metres buits" },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"No es pot especificar un fragment tant en la via d'acc\u00e9s com en el fragment" },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"No es pot especificar una cadena de consulta en la via d'acc\u00e9s i la cadena de consulta" },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"No es pot especificar el port si no s'especifica el sistema principal" },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"No es pot especificar informaci\u00f3 de l'usuari si no s'especifica el sistema principal" },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"Av\u00eds: la versi\u00f3 del document de sortida s''ha sol\u00b7licitat que sigui ''{0}''. Aquesta versi\u00f3 de XML no est\u00e0 suportada. La versi\u00f3 del document de sortida ser\u00e0 ''1.0''." },
{ MsgKey.ER_SCHEME_REQUIRED,
"Es necessita l'esquema" },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"L''objecte de propietats passat a SerializerFactory no t\u00e9 cap propietat ''{0}''." },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"Av\u00eds: el temps d''execuci\u00f3 de Java no d\u00f3na suport a la codificaci\u00f3 ''{0}''." },
{MsgKey.ER_FEATURE_NOT_FOUND,
"El par\u00e0metre ''{0}'' no es reconeix."},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"El par\u00e0metre ''{0}'' es reconeix per\u00f2 el valor sol\u00b7licitat no es pot establir."},
{MsgKey.ER_STRING_TOO_LONG,
"La cadena resultant \u00e9s massa llarga per cabre en una DOMString: ''{0}''."},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"El tipus de valor per a aquest nom de par\u00e0metre \u00e9s incompatible amb el tipus de valor esperat."},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"La destinaci\u00f3 de sortida per a les dades que s'ha d'escriure era nul\u00b7la."},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"S'ha trobat una codificaci\u00f3 no suportada."},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"El node no s'ha pogut serialitzat."},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"La secci\u00f3 CDATA cont\u00e9 un o m\u00e9s marcadors d'acabament ']]>'."},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"No s'ha pogut crear cap inst\u00e0ncia per comprovar si t\u00e9 un format correcte o no. El par\u00e0metre del tipus ben format es va establir en cert, per\u00f2 la comprovaci\u00f3 de format no s'ha pogut realitzar."
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"El node ''{0}'' cont\u00e9 car\u00e0cters XML no v\u00e0lids."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"S''ha trobat un car\u00e0cter XML no v\u00e0lid (Unicode: 0x{0}) en el comentari."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"S''ha trobat un car\u00e0cter XML no v\u00e0lid (Unicode: 0x{0}) en les dades d''instrucci\u00f3 de proc\u00e9s."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"S''ha trobat un car\u00e0cter XML no v\u00e0lid (Unicode: 0x''{0})'' en els continguts de la CDATASection."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"S''ha trobat un car\u00e0cter XML no v\u00e0lid (Unicode: 0x''{0})'' en el contingut de dades de car\u00e0cter del node."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"S''han trobat car\u00e0cters XML no v\u00e0lids al node {0} anomenat ''{1}''."
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"La cadena \"--\" no est\u00e0 permesa dins dels comentaris."
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"El valor d''atribut \"{1}\" associat amb un tipus d''element \"{0}\" no pot contenir el car\u00e0cter ''<''."
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"La refer\u00e8ncia de l''entitat no analitzada \"&{0};\" no est\u00e0 permesa."
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"La refer\u00e8ncia externa de l''entitat \"&{0};\" no est\u00e0 permesa en un valor d''atribut."
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"El prefix \"{0}\" no es pot vincular a l''espai de noms \"{1}\"."
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"El nom local de l''element \"{0}\" \u00e9s nul."
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"El nom local d''atr \"{0}\" \u00e9s nul."
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"El text de recanvi del node de l''entitat \"{0}\" cont\u00e9 un node d''element \"{1}\" amb un prefix de no enlla\u00e7at \"{2}\"."
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"El text de recanvi del node de l''entitat \"{0}\" cont\u00e9 un node d''atribut \"{1}\" amb un prefix de no enlla\u00e7at \"{2}\"."
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_ca extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_ca::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_ca.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_ca.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"A chave de mensagem ''{0}'' n\u00e3o est\u00e1 na classe de mensagem ''{1}''" },
{ MsgKey.BAD_MSGFORMAT,
"O formato da mensagem ''{0}'' na classe de mensagem ''{1}'' falhou." },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"A classe de serializador ''{0}'' n\u00e3o implementa org.xml.sax.ContentHandler." },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"O recurso [ {0} ] n\u00e3o p\u00f4de ser encontrado.\n{1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"O recurso [ {0} ] n\u00e3o p\u00f4de carregar: {1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"Tamanho do buffer <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"Detectado substituto UTF-16 inv\u00e1lido: {0} ?" },
{ MsgKey.ER_OIERROR,
"Erro de E/S" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"Imposs\u00edvel incluir atributo {0} depois de n\u00f3s filhos ou antes da gera\u00e7\u00e3o de um elemento. O atributo ser\u00e1 ignorado." },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"O espa\u00e7o de nomes do prefixo ''{0}'' n\u00e3o foi declarado. " },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"Atributo ''{0}'' fora do elemento. " },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"Declara\u00e7\u00e3o de espa\u00e7o de nomes ''{0}''=''{1}'' fora do elemento. " },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"N\u00e3o foi poss\u00edvel carregar ''{0}'' (verifique CLASSPATH) agora , utilizando somente os padr\u00f5es" },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"Tentativa de processar o caractere de um valor integral {0} que n\u00e3o \u00e9 representado na codifica\u00e7\u00e3o de sa\u00edda especificada de {1}." },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"N\u00e3o foi poss\u00edvel carregar o arquivo de propriedade ''{0}'' para o m\u00e9todo de sa\u00edda ''{1}'' (verifique CLASSPATH)" },
{ MsgKey.ER_INVALID_PORT,
"N\u00famero de porta inv\u00e1lido" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"A porta n\u00e3o pode ser definida quando o host \u00e9 nulo" },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"O host n\u00e3o \u00e9 um endere\u00e7o formado corretamente" },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"O esquema n\u00e3o est\u00e1 em conformidade." },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"Imposs\u00edvel definir esquema a partir da cadeia nula" },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"O caminho cont\u00e9m seq\u00fc\u00eancia de escape inv\u00e1lida" },
{ MsgKey.ER_PATH_INVALID_CHAR,
"O caminho cont\u00e9m caractere inv\u00e1lido: {0}" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"O fragmento cont\u00e9m caractere inv\u00e1lido" },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"O fragmento n\u00e3o pode ser definido quando o caminho \u00e9 nulo" },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"O fragmento s\u00f3 pode ser definido para um URI gen\u00e9rico" },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"Nenhum esquema encontrado no URI" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"Imposs\u00edvel inicializar URI com par\u00e2metros vazios" },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"O fragmento n\u00e3o pode ser especificado no caminho e fragmento" },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"A cadeia de consulta n\u00e3o pode ser especificada na cadeia de consulta e caminho" },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"Port n\u00e3o pode ser especificado se host n\u00e3o for especificado" },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"Userinfo n\u00e3o pode ser especificado se host n\u00e3o for especificado" },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"Aviso: A vers\u00e3o do documento de sa\u00edda precisa ser ''{0}''. Essa vers\u00e3o do XML n\u00e3o \u00e9 suportada. A vers\u00e3o do documento de sa\u00edda ser\u00e1 ''1.0''." },
{ MsgKey.ER_SCHEME_REQUIRED,
"O esquema \u00e9 obrigat\u00f3rio!" },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"O objeto Properties transmitido para SerializerFactory n\u00e3o tem uma propriedade ''{0}''." },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"Aviso: A codifica\u00e7\u00e3o ''{0}'' n\u00e3o \u00e9 suportada pelo Java Runtime." },
{MsgKey.ER_FEATURE_NOT_FOUND,
"O par\u00e2metro ''{0}'' n\u00e3o \u00e9 reconhecido."},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"O par\u00e2metro ''{0}'' \u00e9 reconhecido, mas o valor pedido n\u00e3o pode ser definido. "},
{MsgKey.ER_STRING_TOO_LONG,
"A cadeia resultante \u00e9 muito longa para caber em uma DOMString: ''{0}''. "},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"O tipo de valor para este nome de par\u00e2metro \u00e9 incompat\u00edvel com o tipo de valor esperado. "},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"O destino de sa\u00edda para os dados a serem gravados era nulo. "},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"Uma codifica\u00e7\u00e3o n\u00e3o suportada foi encontrada. "},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"O n\u00f3 n\u00e3o p\u00f4de ser serializado."},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"A Se\u00e7\u00e3o CDATA cont\u00e9m um ou mais marcadores de t\u00e9rmino ']]>'."},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"Uma inst\u00e2ncia do verificador Well-Formedness n\u00e3o p\u00f4de ser criada. O par\u00e2metro well-formed foi definido como true, mas a verifica\u00e7\u00e3o well-formedness n\u00e3o pode ser executada."
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"O n\u00f3 ''{0}'' cont\u00e9m caracteres XML inv\u00e1lidos. "
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"Um caractere XML inv\u00e1lido (Unicode: 0x{0}) foi encontrado no coment\u00e1rio. "
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"Um caractere XML inv\u00e1lido (Unicode: 0x{0}) foi encontrado no processo instructiondata."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"Um caractere XML inv\u00e1lido (Unicode: 0x{0}) foi encontrado nos conte\u00fados do CDATASection. "
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"Um caractere XML inv\u00e1lido (Unicode: 0x{0}) foi encontrado no conte\u00fado dos dados de caractere dos n\u00f3s. "
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"Um caractere inv\u00e1lido foi encontrado no {0} do n\u00f3 denominado ''{1}''."
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"A cadeia \"--\" n\u00e3o \u00e9 permitida dentro dos coment\u00e1rios. "
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"O valor do atributo \"{1}\" associado a um tipo de elemento \"{0}\" n\u00e3o deve conter o caractere ''<''. "
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"A refer\u00eancia de entidade n\u00e3o analisada \"&{0};\" n\u00e3o \u00e9 permitida. "
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"A refer\u00eancia de entidade externa \"&{0};\" n\u00e3o \u00e9 permitida em um valor de atributo. "
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"O prefixo \"{0}\" n\u00e3o pode ser vinculado ao espa\u00e7o de nomes \"{1}\"."
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"O nome local do elemento \"{0}\" \u00e9 nulo."
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"O nome local do atributo \"{0}\" \u00e9 nulo."
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"O texto de substitui\u00e7\u00e3o do n\u00f3 de entidade \"{0}\" cont\u00e9m um n\u00f3 de elemento \"{1}\" com um prefixo n\u00e3o vinculado \"{2}\"."
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"O texto de substitui\u00e7\u00e3o do n\u00f3 de entidade \"{0}\" cont\u00e9m um n\u00f3 de atributo \"{1}\" com um prefixo n\u00e3o vinculado \"{2}\"."
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_pt_BR extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_pt_BR::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_pt_BR.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_pt_BR.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"''{0}'' \uba54\uc2dc\uc9c0 \ud0a4\uac00 ''{1}'' \uba54\uc2dc\uc9c0 \ud074\ub798\uc2a4\uc5d0 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.BAD_MSGFORMAT,
"''{1}'' \uba54\uc2dc\uc9c0 \ud074\ub798\uc2a4\uc5d0 \uc788\ub294 ''{0}'' \uba54\uc2dc\uc9c0\uc758 \ud615\uc2dd\uc774 \uc798\ubabb \ub418\uc5c8\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"''{0}'' \uc9c1\ub82c \ud504\ub85c\uadf8\ub7a8 \ud074\ub798\uc2a4\uac00 org.xml.sax.ContentHandler\ub97c \uad6c\ud604\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"[ {0} ] \uc790\uc6d0\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\n{1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"[ {0} ] \uc790\uc6d0\uc774 {1} \n {2} \t {3}\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"\ubc84\ud37c \ud06c\uae30 <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"\uc798\ubabb\ub41c UTF-16 \ub300\ub9ac\uc790(surrogate)\uac00 \ubc1c\uacac\ub418\uc5c8\uc2b5\ub2c8\ub2e4: {0} ?" },
{ MsgKey.ER_OIERROR,
"IO \uc624\ub958" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"\ud558\uc704 \ub178\ub4dc\uac00 \uc0dd\uc131\ub41c \uc774\ud6c4 \ub610\ub294 \uc694\uc18c\uac00 \uc791\uc131\ub418\uae30 \uc774\uc804\uc5d0 {0} \uc18d\uc131\uc744 \ucd94\uac00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc18d\uc131\uc774 \ubb34\uc2dc\ub429\ub2c8\ub2e4." },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"''{0}'' \uc811\ub450\ubd80\uc5d0 \ub300\ud55c \uc774\ub984 \uacf5\uac04\uc774 \uc120\uc5b8\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4." },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"''{0}'' \uc18d\uc131\uc774 \uc694\uc18c\uc758 \uc678\ubd80\uc5d0 \uc788\uc2b5\ub2c8\ub2e4." },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"''{0}''=''{1}'' \uc774\ub984 \uacf5\uac04 \uc120\uc5b8\uc774 \uc694\uc18c\uc758 \uc678\ubd80\uc5d0 \uc788\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"''{0}''(CLASSPATH \ud655\uc778)\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc73c\ubbc0\ub85c, \ud604\uc7ac \uae30\ubcf8\uac12\ub9cc\uc744 \uc0ac\uc6a9\ud558\ub294 \uc911\uc785\ub2c8\ub2e4." },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"{1}\uc758 \uc9c0\uc815\ub41c \ucd9c\ub825 \uc778\ucf54\ub529\uc5d0 \ud45c\uc2dc\ub418\uc9c0 \uc54a\uc740 \ubb34\uacb0\uc131 \uac12 {0}\uc758 \ubb38\uc790\ub97c \ucd9c\ub825\ud558\uc2ed\uc2dc\uc624. " },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"''{1}'' \ucd9c\ub825 \uba54\uc18c\ub4dc(CLASSPATH \ud655\uc778)\uc5d0 \ub300\ud55c ''{0}'' \ud2b9\uc131 \ud30c\uc77c\uc744 \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_INVALID_PORT,
"\uc798\ubabb\ub41c \ud3ec\ud2b8 \ubc88\ud638" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"\ud638\uc2a4\ud2b8\uac00 \ub110(null)\uc774\uba74 \ud3ec\ud2b8\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"\ud638\uc2a4\ud2b8\uac00 \uc644\uc804\ud55c \uc8fc\uc18c\uac00 \uc544\ub2d9\ub2c8\ub2e4." },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"\uc2a4\ud0a4\ub9c8\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"\ub110(null) \ubb38\uc790\uc5f4\uc5d0\uc11c \uc2a4\ud0a4\ub9c8\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \uc774\uc2a4\ucf00\uc774\ud504 \uc21c\uc11c\uac00 \uc788\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_PATH_INVALID_CHAR,
"\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4: {0}" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"\ub2e8\ud3b8\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"\uacbd\ub85c\uac00 \ub110(null)\uc774\uba74 \ub2e8\ud3b8\uc744 \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"\uc77c\ubc18 URI\uc5d0 \ub300\ud574\uc11c\ub9cc \ub2e8\ud3b8\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"URI\uc5d0 \uc2a4\ud0a4\ub9c8\uac00 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"\ube48 \ub9e4\uac1c\ubcc0\uc218\ub85c URI\ub97c \ucd08\uae30\ud654\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"\uacbd\ub85c \ubc0f \ub2e8\ud3b8 \ub458 \ub2e4\uc5d0 \ub2e8\ud3b8\uc744 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"\uacbd\ub85c \ubc0f \uc870\ud68c \ubb38\uc790\uc5f4\uc5d0 \uc870\ud68c \ubb38\uc790\uc5f4\uc744 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"\ud638\uc2a4\ud2b8\ub97c \uc9c0\uc815\ud558\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0\ub294 \ud3ec\ud2b8\ub97c \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"\ud638\uc2a4\ud2b8\ub97c \uc9c0\uc815\ud558\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0\ub294 Userinfo\ub97c \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"\uacbd\uace0: \uc694\uccad\ub41c \ucd9c\ub825 \ubb38\uc11c\uc758 \ubc84\uc804\uc740 ''{0}''\uc785\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uc774 XML \ubc84\uc804\uc740 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \ucd9c\ub825 \ubb38\uc11c\uc758 \ubc84\uc804\uc740 ''1.0''\uc774 \ub429\ub2c8\ub2e4." },
{ MsgKey.ER_SCHEME_REQUIRED,
"\uc2a4\ud0a4\ub9c8\uac00 \ud544\uc694\ud569\ub2c8\ub2e4." },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"SerializerFactory\uc5d0 \uc804\ub2ec\ub41c \ud2b9\uc131 \uc624\ube0c\uc81d\ud2b8\uc5d0 ''{0}'' \ud2b9\uc131\uc774 \uc5c6\uc2b5\ub2c8\ub2e4." },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"\uacbd\uace0: ''{0}'' \uc778\ucf54\ub529\uc740 Java Runtime\uc744 \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4." },
{MsgKey.ER_FEATURE_NOT_FOUND,
"''{0}'' \ub9e4\uac1c\ubcc0\uc218\ub97c \uc778\uc2dd\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"''{0}'' \ub9e4\uac1c\ubcc0\uc218\ub294 \uc778\uc2dd\ud560 \uc218 \uc788\uc73c\ub098 \uc694\uccad\ub41c \uac12\uc744 \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
{MsgKey.ER_STRING_TOO_LONG,
"\uacb0\uacfc \ubb38\uc790\uc5f4\uc774 \ub108\ubb34 \uae38\uc5b4 DOMString\uc5d0 \ub9de\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4: ''{0}'' "},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"\uc774 \ub9e4\uac1c\ubcc0\uc218 \uc774\ub984\uc5d0 \ub300\ud55c \uac12 \uc720\ud615\uc774 \uc608\uc0c1 \uac12 \uc720\ud615\uacfc \ud638\ud658\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"\ub370\uc774\ud130\ub97c \uae30\ub85d\ud560 \ucd9c\ub825 \ub300\uc0c1\uc774 \ub110(null)\uc785\ub2c8\ub2e4."},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc778\ucf54\ub529\uc774 \ubc1c\uacac\ub418\uc5c8\uc2b5\ub2c8\ub2e4."},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"\ub178\ub4dc\ub97c \uc9c1\ub82c\ud654\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"CDATA \uc139\uc158\uc5d0 \uc885\ub8cc \ud45c\uc2dc \ubb38\uc790\uc778 ']]>'\uac00 \ud558\ub098 \uc774\uc0c1 \ud3ec\ud568\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4."},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"Well-Formedness \uac80\uc0ac\uae30\uc758 \uc778\uc2a4\ud134\uc2a4\ub97c \uc791\uc131\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. Well-Formed \ub9e4\uac1c\ubcc0\uc218\uac00 true\ub85c \uc124\uc815\ub418\uc5c8\uc9c0\ub9cc Well-Formedness \uac80\uc0ac\ub97c \uc218\ud589\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"''{0}'' \ub178\ub4dc\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"\uc124\uba85\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790(Unicode: 0x{0})\uac00 \uc788\uc2b5\ub2c8\ub2e4. "
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"\ucc98\ub9ac \uba85\ub839\uc5b4 \ub370\uc774\ud130\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790(Unicode: 0x{0})\uac00 \uc788\uc2b5\ub2c8\ub2e4 "
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"CDATASection\uc758 \ub0b4\uc6a9\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790(Unicode: 0x{0})\uac00 \uc788\uc2b5\ub2c8\ub2e4. "
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"\ub178\ub4dc\uc758 \ubb38\uc790 \ub370\uc774\ud130 \ub0b4\uc6a9\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790(Unicode: 0x{0})\uac00 \uc788\uc2b5\ub2c8\ub2e4. "
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"\uc774\ub984\uc774 ''{1}''\uc778 {0} \ub178\ub4dc\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4. "
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"\uc124\uba85 \ub0b4\uc5d0\uc11c\ub294 \"--\" \ubb38\uc790\uc5f4\uc774 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"\"{0}\" \uc694\uc18c \uc720\ud615\uacfc \uc5f0\uad00\ub41c \"{1}\" \uc18d\uc131\uac12\uc5d0 ''<'' \ubb38\uc790\uac00 \ud3ec\ud568\ub418\uba74 \uc548\ub429\ub2c8\ub2e4."
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"\"&{0};\"\uc758 \uad6c\ubd84 \ubd84\uc11d\ub418\uc9c0 \uc54a\uc740 \uc5d4\ud2f0\ud2f0 \ucc38\uc870\ub294 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. "
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"\uc18d\uc131\uac12\uc5d0\ub294 \"&{0};\" \uc678\ubd80 \uc5d4\ud2f0\ud2f0 \ucc38\uc870\uac00 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. "
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"\"{0}\" \uc811\ub450\ubd80\ub97c \"{1}\" \uc774\ub984 \uacf5\uac04\uc5d0 \ubc14\uc778\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"\"{0}\" \uc694\uc18c\uc758 \ub85c\uceec \uc774\ub984\uc774 \ub110(null)\uc785\ub2c8\ub2e4."
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"\"{0}\" \uc18d\uc131\uc758 \ub85c\uceec \uc774\ub984\uc774 \ub110(null)\uc785\ub2c8\ub2e4."
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"\"{0}\" \uc5d4\ud2f0\ud2f0 \ub178\ub4dc\uc758 \ub300\uccb4 \ud14d\uc2a4\ud2b8\uc5d0 \ubc14\uc778\ub4dc\ub418\uc9c0 \uc54a\uc740 \uc811\ub450\ubd80 \"{2}\"\uc744(\ub97c) \uac16\ub294 \"{1}\" \uc694\uc18c \ub178\ub4dc\uac00 \uc788\uc2b5\ub2c8\ub2e4."
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"\"{0}\" \uc5d4\ud2f0\ud2f0 \ub178\ub4dc\uc758 \ub300\uccb4 \ud14d\uc2a4\ud2b8\uc5d0 \ubc14\uc778\ub4dc\ub418\uc9c0 \uc54a\uc740 \uc811\ub450\ubd80 \"{2}\"\uc744(\ub97c) \uac16\ub294 \"{1}\" \uc18d\uc131 \ub178\ub4dc\uac00 \uc788\uc2b5\ub2c8\ub2e4."
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_ko extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_ko::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_ko.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_ko.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"Der Nachrichtenschl\u00fcssel ''{0}'' ist nicht in der Nachrichtenklasse ''{1}'' enthalten." },
{ MsgKey.BAD_MSGFORMAT,
"Das Format der Nachricht ''{0}'' in der Nachrichtenklasse ''{1}'' ist fehlgeschlagen." },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"Die Parallel-Seriell-Umsetzerklasse ''{0}'' implementiert org.xml.sax.ContentHandler nicht." },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"Die Ressource [ {0} ] konnte nicht gefunden werden.\n {1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"Die Ressource [ {0} ] konnte nicht geladen werden: {1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"Puffergr\u00f6\u00dfe <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"Ung\u00fcltige UTF-16-Ersetzung festgestellt: {0} ?" },
{ MsgKey.ER_OIERROR,
"E/A-Fehler" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"Attribut {0} kann nicht nach Kindknoten oder vor dem Erstellen eines Elements hinzugef\u00fcgt werden. Das Attribut wird ignoriert." },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"Der Namensbereich f\u00fcr Pr\u00e4fix ''{0}'' wurde nicht deklariert." },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"Attribut ''{0}'' befindet sich nicht in einem Element." },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"Namensbereichdeklaration ''{0}''=''{1}'' befindet sich nicht in einem Element." },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"''{0}'' konnte nicht geladen werden (CLASSPATH pr\u00fcfen). Es werden die Standardwerte verwendet." },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"Es wurde versucht, ein Zeichen des Integralwerts {0} auszugeben, der nicht in der angegebenen Ausgabeverschl\u00fcsselung von {1} dargestellt ist." },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"Die Merkmaldatei ''{0}'' konnte f\u00fcr die Ausgabemethode ''{1}'' nicht geladen werden (CLASSPATH pr\u00fcfen)" },
{ MsgKey.ER_INVALID_PORT,
"Ung\u00fcltige Portnummer" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"Der Port kann nicht festgelegt werden, wenn der Host gleich Null ist." },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"Der Host ist keine syntaktisch korrekte Adresse." },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"Das Schema ist nicht angepasst." },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"Schema kann nicht von Nullzeichenfolge festgelegt werden." },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"Der Pfad enth\u00e4lt eine ung\u00fcltige Escapezeichenfolge." },
{ MsgKey.ER_PATH_INVALID_CHAR,
"Pfad enth\u00e4lt ung\u00fcltiges Zeichen: {0}." },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"Fragment enth\u00e4lt ein ung\u00fcltiges Zeichen." },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"Fragment kann nicht festgelegt werden, wenn der Pfad gleich Null ist." },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"Fragment kann nur f\u00fcr eine generische URI (Uniform Resource Identifier) festgelegt werden." },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"Kein Schema gefunden in URI" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"URI (Uniform Resource Identifier) kann nicht mit leeren Parametern initialisiert werden." },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"Fragment kann nicht im Pfad und im Fragment angegeben werden." },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"Abfragezeichenfolge kann nicht im Pfad und in der Abfragezeichenfolge angegeben werden." },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"Der Port kann nicht angegeben werden, wenn der Host nicht angegeben wurde." },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"Benutzerinformationen k\u00f6nnen nicht angegeben werden, wenn der Host nicht angegeben wurde." },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"Warnung: Die Version des Ausgabedokuments muss ''{0}'' lauten. Diese XML-Version wird nicht unterst\u00fctzt. Die Version des Ausgabedokuments ist ''1.0''." },
{ MsgKey.ER_SCHEME_REQUIRED,
"Schema ist erforderlich!" },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"Das an SerializerFactory \u00fcbermittelte Merkmalobjekt weist kein Merkmal ''{0}'' auf." },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"Warnung: Die Codierung ''{0}'' wird von Java Runtime nicht unterst\u00fctzt." },
{MsgKey.ER_FEATURE_NOT_FOUND,
"Der Parameter ''{0}'' wird nicht erkannt."},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"Der Parameter ''{0}'' wird erkannt, der angeforderte Wert kann jedoch nicht festgelegt werden."},
{MsgKey.ER_STRING_TOO_LONG,
"Die Ergebniszeichenfolge ist zu lang f\u00fcr eine DOM-Zeichenfolge: ''{0}''."},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"Der Werttyp f\u00fcr diesen Parameternamen ist nicht kompatibel mit dem erwarteten Werttyp."},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"Das Ausgabeziel f\u00fcr die zu schreibenden Daten war leer."},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"Eine nicht unterst\u00fctzte Codierung wurde festgestellt."},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"Der Knoten konnte nicht serialisiert werden."},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"Der Abschnitt CDATA enth\u00e4lt mindestens eine Beendigungsmarkierung ']]>'."},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"Eine Instanz des Pr\u00fcfprogramms f\u00fcr korrekte Formatierung konnte nicht erstellt werden. F\u00fcr den korrekt formatierten Parameter wurde der Wert 'True' festgelegt, die Pr\u00fcfung auf korrekte Formatierung kann jedoch nicht durchgef\u00fchrt werden."
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"Der Knoten ''{0}'' enth\u00e4lt ung\u00fcltige XML-Zeichen."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"Im Kommentar wurde ein ung\u00fcltiges XML-Zeichen (Unicode: 0x{0}) gefunden."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"In der Verarbeitungsanweisung wurde ein ung\u00fcltiges XML-Zeichen (Unicode: 0x{0}) gefunden."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"Im Inhalt von CDATASection wurde ein ung\u00fcltiges XML-Zeichen (Unicode: 0x{0}) gefunden."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"Ein ung\u00fcltiges XML-Zeichen (Unicode: 0x{0}) wurde im Inhalt der Zeichendaten des Knotens gefunden."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"Ung\u00fcltige XML-Zeichen wurden gefunden in {0} im Knoten ''{1}''."
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"Die Zeichenfolge \"--\" ist innerhalb von Kommentaren nicht zul\u00e4ssig."
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"Der Wert des Attributs \"{1}\" mit einem Elementtyp \"{0}\" darf nicht das Zeichen ''<'' enthalten."
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"Der syntaktisch nicht analysierte Entit\u00e4tenverweis \"&{0};\" ist nicht zul\u00e4ssig."
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"Der externe Entit\u00e4tenverweis \"&{0};\" ist in einem Attributwert nicht zul\u00e4ssig."
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"Das Pr\u00e4fix \"{0}\" kann nicht an den Namensbereich \"{1}\" gebunden werden."
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"Der lokale Name von Element \"{0}\" ist nicht angegeben."
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"Der lokale Name des Attributs \"{0}\" ist nicht angegeben."
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"Der Ersatztext des Entit\u00e4tenknotens \"{0}\" enth\u00e4lt einen Elementknoten \"{1}\" mit einem nicht gebundenen Pr\u00e4fix \"{2}\"."
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"Der Ersatztext des Entit\u00e4tenknotens \"{0}\" enth\u00e4lt einen Attributknoten \"{1}\" mit einem nicht gebundenen Pr\u00e4fix \"{2}\"."
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_de extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_de::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_de.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_de.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"La chiave messaggio ''{0}'' non si trova nella classe del messaggio ''{1}''" },
{ MsgKey.BAD_MSGFORMAT,
"Il formato del messaggio ''{0}'' nella classe del messaggio ''{1}'' non \u00e8 riuscito." },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"La classe del serializzatore ''{0}'' non implementa org.xml.sax.ContentHandler." },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"Risorsa [ {0} ] non trovata.\n {1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"Impossibile caricare la risorsa [ {0} ]: {1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"Dimensione buffer <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"Rilevato surrogato UTF-16 non valido: {0} ?" },
{ MsgKey.ER_OIERROR,
"Errore IO" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"Impossibile aggiungere l''''attributo {0} dopo i nodi secondari o prima che sia prodotto un elemento. L''''attributo verr\u00e0 ignorato." },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"Lo spazio nomi per il prefisso ''{0}'' non \u00e8 stato dichiarato." },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"L''''attributo ''{0}'' al di fuori dell''''elemento." },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"Dichiarazione dello spazio nome ''{0}''=''{1}'' al di fuori dell''''elemento." },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"Impossibile caricare ''{0}'' (verificare CLASSPATH), verranno utilizzati i valori predefiniti" },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"Tentare di generare l''''output del carattere di valor integrale {0} che non \u00e8 rappresentato nella codifica di output specificata di {1}." },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"Impossibile caricare il file delle propriet\u00e0 ''{0}'' per il metodo di emissione ''{1}'' (verificare CLASSPATH)" },
{ MsgKey.ER_INVALID_PORT,
"Numero di porta non valido" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"La porta non pu\u00f2 essere impostata se l'host \u00e8 nullo" },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"Host non \u00e8 un'indirizzo corretto" },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"Lo schema non \u00e8 conforme." },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"Impossibile impostare lo schema da una stringa nulla" },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"Il percorso contiene sequenza di escape non valida" },
{ MsgKey.ER_PATH_INVALID_CHAR,
"Il percorso contiene un carattere non valido: {0}" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"Il frammento contiene un carattere non valido" },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"Il frammento non pu\u00f2 essere impostato se il percorso \u00e8 nullo" },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"Il frammento pu\u00f2 essere impostato solo per un URI generico" },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"Non \u00e8 stato trovato alcuno schema nell'URI" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"Impossibile inizializzare l'URI con i parametri vuoti" },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"Il frammento non pu\u00f2 essere specificato sia nel percorso che nel frammento" },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"La stringa di interrogazione non pu\u00f2 essere specificata nella stringa di interrogazione e percorso." },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"La porta non pu\u00f2 essere specificata se l'host non S specificato" },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"Userinfo non pu\u00f2 essere specificato se l'host non S specificato" },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"Attenzione: La versione del documento di emissione \u00e8 obbligatorio che sia ''{0}''. Questa versione di XML non \u00e8 supportata. La versione del documento di emissione sar\u00e0 ''1.0''." },
{ MsgKey.ER_SCHEME_REQUIRED,
"Lo schema \u00e8 obbligatorio." },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"L''''oggetto Properties passato al SerializerFactory non ha una propriet\u00e0 ''{0}''." },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"Avvertenza: La codifica ''{0}'' non \u00e8 supportata da Java runtime." },
{MsgKey.ER_FEATURE_NOT_FOUND,
"Il parametro ''{0}'' non \u00e8 riconosciuto."},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"Il parametro ''{0}'' \u00e8 riconosciuto ma non \u00e8 possibile impostare il valore richiesto."},
{MsgKey.ER_STRING_TOO_LONG,
"La stringa risultante \u00e8 troppo lunga per essere inserita in DOMString: ''{0}''."},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"Il tipo di valore per questo nome di parametro non \u00e8 compatibile con il tipo di valore previsto."},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"La destinazione di output in cui scrivere i dati era nulla."},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"\u00c8 stata rilevata una codifica non supportata."},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"Impossibile serializzare il nodo."},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"La Sezione CDATA contiene uno o pi\u00f9 markers di termine ']]>'."},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"Impossibile creare un'istanza del controllore Well-Formedness. Il parametro well-formed \u00e8 stato impostato su true ma non \u00e8 possibile eseguire i controlli well-formedness."
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"Il nodo ''{0}'' contiene caratteri XML non validi."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"Trovato un carattere XML non valido (Unicode: 0x{0}) nel commento."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"Carattere XML non valido (Unicode: 0x{0}) rilevato nell''elaborazione di instructiondata."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"Carattere XML non valido (Unicode: 0x{0}) rilevato nel contenuto di CDATASection."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"Carattere XML non valido (Unicode: 0x{0}) rilevato nel contenuto dati di caratteri del nodo. "
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"Carattere XML non valido rilevato nel nodo {0} denominato ''{1}''."
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"La stringa \"--\" non \u00e8 consentita nei commenti."
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"Il valore dell''''attributo \"{1}\" associato con un tipo di elemento \"{0}\" non deve contenere il carattere ''<''."
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"Il riferimento entit\u00e0 non analizzata \"&{0};\" non \u00e8 permesso."
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"Il riferimento all''''entit\u00e0 esterna \"&{0};\" non \u00e8 permesso in un valore attributo."
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"Il prefisso \"{0}\" non pu\u00f2 essere associato allo spazio nome \"{1}\"."
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"Il nome locale dell''''elemento \"{0}\" \u00e8 null."
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"Il nome locale dell''''attributo \"{0}\" \u00e8 null."
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"Il testo di sostituzione del nodo di entit\u00e0 \"{0}\" contiene un nodo di elemento \"{1}\" con un prefisso non associato \"{2}\"."
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"Il testo di sostituzione del nodo di entit\u00e0 \"{0}\" contiene un nodo di attributo \"{1}\" con un prefisso non associato \"{2}\"."
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_it extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_it::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_it.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_it.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"Kl\u00ed\u010d zpr\u00e1vy ''{0}'' nen\u00ed obsa\u017een ve t\u0159\u00edd\u011b zpr\u00e1v ''{1}''" },
{ MsgKey.BAD_MSGFORMAT,
"Form\u00e1t zpr\u00e1vy ''{0}'' ve t\u0159\u00edd\u011b zpr\u00e1v ''{1}'' selhal. " },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"T\u0159\u00edda serializace ''{0}'' neimplementuje obslu\u017en\u00fd program org.xml.sax.ContentHandler." },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"Nelze naj\u00edt zdroj [ {0} ].\n {1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"Nelze zav\u00e9st zdroj [ {0} ]: {1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"Velikost vyrovn\u00e1vac\u00ed pam\u011bti <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"Byla zji\u0161t\u011bna neplatn\u00e1 n\u00e1hrada UTF-16: {0} ?" },
{ MsgKey.ER_OIERROR,
"Chyba vstupu/v\u00fdstupu" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"Nelze p\u0159idat atribut {0} po uzlech potomk\u016f ani p\u0159ed t\u00edm, ne\u017e je vytvo\u0159en prvek. Atribut bude ignorov\u00e1n." },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"Obor n\u00e1zv\u016f pro p\u0159edponu ''{0}'' nebyl deklarov\u00e1n." },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"Atribut ''{0}'' se nach\u00e1z\u00ed vn\u011b prvku." },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"Deklarace oboru n\u00e1zv\u016f ''{0}''=''{1}'' se nach\u00e1z\u00ed vn\u011b prvku." },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"Nelze zav\u00e9st prost\u0159edek ''{0}'' (zkontrolujte prom\u011bnnou CLASSPATH) - budou pou\u017eity pouze v\u00fdchoz\u00ed prost\u0159edky" },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"Byl proveden pokus o v\u00fdstup znaku s celo\u010d\u00edselnou hodnotou {0}, kter\u00e1 nen\u00ed reprezentov\u00e1na v ur\u010den\u00e9m v\u00fdstupn\u00edm k\u00f3dov\u00e1n\u00ed {1}." },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"Nelze na\u010d\u00edst soubor vlastnost\u00ed ''{0}'' pro v\u00fdstupn\u00ed metodu ''{1}'' (zkontrolujte prom\u011bnnou CLASSPATH)." },
{ MsgKey.ER_INVALID_PORT,
"Neplatn\u00e9 \u010d\u00edslo portu." },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"M\u00e1-li hostitel hodnotu null, nelze nastavit port." },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"Adresa hostitele m\u00e1 nespr\u00e1vn\u00fd form\u00e1t." },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"Sch\u00e9ma nevyhovuje." },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"Nelze nastavit sch\u00e9ma \u0159et\u011bzce s hodnotou null." },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"Cesta obsahuje neplatnou escape sekvenci" },
{ MsgKey.ER_PATH_INVALID_CHAR,
"Cesta obsahuje neplatn\u00fd znak: {0}" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"Fragment obsahuje neplatn\u00fd znak." },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"M\u00e1-li cesta hodnotu null, nelze nastavit fragment." },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"Fragment lze nastavit jen u generick\u00e9ho URI." },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"V URI nebylo nalezeno \u017e\u00e1dn\u00e9 sch\u00e9ma" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"URI nelze inicializovat s pr\u00e1zdn\u00fdmi parametry." },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"Fragment nelze ur\u010dit z\u00e1rove\u0148 v cest\u011b i ve fragmentu." },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"V \u0159et\u011bzci cesty a dotazu nelze zadat \u0159et\u011bzec dotazu." },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"Nen\u00ed-li ur\u010den hostitel, nelze zadat port." },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"Nen\u00ed-li ur\u010den hostitel, nelze zadat \u00fadaje o u\u017eivateli." },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"Varov\u00e1n\u00ed: Je po\u017eadov\u00e1na verze ''{0}'' v\u00fdstupn\u00edho dokumentu. Tato verze form\u00e1tu XML nen\u00ed podporov\u00e1na. Bude pou\u017eita verze ''1.0'' v\u00fdstupn\u00edho dokumentu. " },
{ MsgKey.ER_SCHEME_REQUIRED,
"Je vy\u017eadov\u00e1no sch\u00e9ma!" },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"Objekt vlastnost\u00ed p\u0159edan\u00fd faktorii SerializerFactory neobsahuje vlastnost ''{0}''. " },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"Varov\u00e1n\u00ed: K\u00f3dov\u00e1n\u00ed ''{0}'' nen\u00ed v b\u011bhov\u00e9m prost\u0159ed\u00ed Java podporov\u00e1no." },
{MsgKey.ER_FEATURE_NOT_FOUND,
"Parametr ''{0}'' nebyl rozpozn\u00e1n."},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"Parametr ''{0}'' byl rozpozn\u00e1n, ale nelze nastavit po\u017eadovanou hodnotu."},
{MsgKey.ER_STRING_TOO_LONG,
"V\u00fdsledn\u00fd \u0159et\u011bzec je p\u0159\u00edli\u0161 dlouh\u00fd pro \u0159et\u011bzec DOMString: ''{0}''."},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"Typ hodnoty pro tento n\u00e1zev parametru nen\u00ed kompatibiln\u00ed s o\u010dek\u00e1van\u00fdm typem hodnoty."},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"C\u00edlov\u00e9 um\u00edst\u011bn\u00ed v\u00fdstupu pro data ur\u010den\u00e1 k z\u00e1pisu je rovno hodnot\u011b Null. "},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"Bylo nalezeno nepodporovan\u00e9 k\u00f3dov\u00e1n\u00ed."},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"Nelze prov\u00e9st serializaci uzlu. "},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"Sekce CDATA obsahuje jednu nebo v\u00edce ukon\u010dovac\u00edch zna\u010dek ']]>'."},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"Nelze vytvo\u0159it instanci modulu pro kontrolu spr\u00e1vn\u00e9ho utvo\u0159en\u00ed. Parametr spr\u00e1vn\u00e9ho utvo\u0159en\u00ed byl nastaven na hodnotu true, nepoda\u0159ilo se v\u0161ak zkontrolovat spr\u00e1vnost utvo\u0159en\u00ed. "
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"Uzel ''{0}'' obsahuje neplatn\u00e9 znaky XML. "
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"V pozn\u00e1mce byl zji\u0161t\u011bn neplatn\u00fd znak XML (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"V datech instrukce zpracov\u00e1n\u00ed byl nalezen neplatn\u00fd znak XML (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"V odd\u00edlu CDATASection byl nalezen neplatn\u00fd znak XML (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"V obsahu znakov\u00fdch dat uzlu byl nalezen neplatn\u00fd znak XML (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"V objektu {0} s n\u00e1zvem ''{1}'' byl nalezen neplatn\u00fd znak XML. "
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"V pozn\u00e1mk\u00e1ch nen\u00ed povolen \u0159et\u011bzec \"--\"."
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"Hodnota atributu \"{1}\" souvisej\u00edc\u00edho s typem prvku \"{0}\" nesm\u00ed obsahovat znak ''<''."
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"Odkaz na neanalyzovanou entitu \"&{0};\" nen\u00ed povolen."
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"Extern\u00ed odkaz na entitu \"&{0};\" nen\u00ed v hodnot\u011b atributu povolen."
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"P\u0159edpona \"{0}\" nesm\u00ed b\u00fdt v\u00e1zan\u00e1 k oboru n\u00e1zv\u016f \"{1}\"."
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"Lok\u00e1ln\u00ed n\u00e1zev prvku \"{0}\" m\u00e1 hodnotu Null. "
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"Lok\u00e1ln\u00ed n\u00e1zev atributu \"{0}\" m\u00e1 hodnotu Null. "
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"Nov\u00fd text uzlu entity \"{0}\" obsahuje uzel prvku \"{1}\" s nesv\u00e1zanou p\u0159edponou \"{2}\"."
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"Nov\u00fd text uzlu entity \"{0}\" obsahuje uzel atributu \"{1}\" s nesv\u00e1zanou p\u0159edponou \"{2}\". "
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_cs extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_cs::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_cs.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_cs.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"K\u013e\u00fa\u010d spr\u00e1vy ''{0}'' sa nenach\u00e1dza v triede spr\u00e1v ''{1}''" },
{ MsgKey.BAD_MSGFORMAT,
"Zlyhal form\u00e1t spr\u00e1vy ''{0}'' v triede spr\u00e1v ''{1}''." },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"Trieda serializ\u00e1tora ''{0}'' neimplementuje org.xml.sax.ContentHandler." },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"Prostriedok [ {0} ] nemohol by\u0165 n\u00e1jden\u00fd.\n {1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"Prostriedok [ {0} ] sa nedal na\u010d\u00edta\u0165: {1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"Ve\u013ekos\u0165 vyrovn\u00e1vacej pam\u00e4te <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"Bolo zisten\u00e9 neplatn\u00e9 nahradenie UTF-16: {0} ?" },
{ MsgKey.ER_OIERROR,
"chyba IO" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"Nie je mo\u017en\u00e9 prida\u0165 atrib\u00fat {0} po uzloch potomka alebo pred vytvoren\u00edm elementu. Atrib\u00fat bude ignorovan\u00fd." },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"N\u00e1zvov\u00fd priestor pre predponu ''{0}'' nebol deklarovan\u00fd." },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"Atrib\u00fat ''{0}'' je mimo prvku." },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"Deklar\u00e1cia n\u00e1zvov\u00e9ho priestoru ''{0}''=''{1}'' je mimo prvku." },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"Nebolo mo\u017en\u00e9 zavies\u0165 ''{0}'' (skontrolujte CLASSPATH), teraz sa pou\u017e\u00edvaj\u00fa iba \u0161tandardn\u00e9 nastavenia" },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"Pokus o v\u00fdstup znaku integr\u00e1lnej hodnoty {0}, ktor\u00e1 nie je reprezentovan\u00e1 v zadanom v\u00fdstupnom k\u00f3dovan\u00ed {1}." },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"Nebolo mo\u017en\u00e9 zavies\u0165 s\u00fabor vlastnost\u00ed ''{0}'' pre v\u00fdstupn\u00fa met\u00f3du ''{1}'' (skontrolujte CLASSPATH)" },
{ MsgKey.ER_INVALID_PORT,
"Neplatn\u00e9 \u010d\u00edslo portu" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"Nem\u00f4\u017ee by\u0165 stanoven\u00fd port, ak je hostite\u013e nulov\u00fd" },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"Hostite\u013e nie je spr\u00e1vne form\u00e1tovan\u00e1 adresa" },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"Nezhodn\u00e1 sch\u00e9ma." },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"Nie je mo\u017en\u00e9 stanovi\u0165 sch\u00e9mu z nulov\u00e9ho re\u0165azca" },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"Cesta obsahuje neplatn\u00fa \u00fanikov\u00fa sekvenciu" },
{ MsgKey.ER_PATH_INVALID_CHAR,
"Cesta obsahuje neplatn\u00fd znak: {0}" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"Fragment obsahuje neplatn\u00fd znak" },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"Ak je cesta nulov\u00e1, nem\u00f4\u017ee by\u0165 stanoven\u00fd fragment" },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"Fragment m\u00f4\u017ee by\u0165 stanoven\u00fd len pre v\u0161eobecn\u00e9 URI" },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"V URI nebola n\u00e1jden\u00e1 \u017eiadna sch\u00e9ma" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"Nie je mo\u017en\u00e9 inicializova\u0165 URI s pr\u00e1zdnymi parametrami" },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"Fragment nem\u00f4\u017ee by\u0165 zadan\u00fd v ceste, ani vo fragmente" },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"Re\u0165azec dotazu nem\u00f4\u017ee by\u0165 zadan\u00fd v ceste a re\u0165azci dotazu" },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"Ak nebol zadan\u00fd hostite\u013e, mo\u017eno nebol zadan\u00fd port" },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"Ak nebol zadan\u00fd hostite\u013e, mo\u017eno nebolo zadan\u00e9 userinfo" },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"Varovanie: Verzia v\u00fdstupn\u00e9ho dokumentu mus\u00ed by\u0165 povinne ''{0}''. T\u00e1to verzia XML nie je podporovan\u00e1. Verzia v\u00fdstupn\u00e9ho dokumentu bude ''1.0''." },
{ MsgKey.ER_SCHEME_REQUIRED,
"Je po\u017eadovan\u00e1 sch\u00e9ma!" },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"Objekt Properties, ktor\u00fd pre\u0161iel do SerializerFactory, nem\u00e1 vlastnos\u0165 ''{0}''." },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"Varovanie: Java runtime nepodporuje k\u00f3dovanie ''{0}''." },
{MsgKey.ER_FEATURE_NOT_FOUND,
"Parameter ''{0}'' nebol rozpoznan\u00fd."},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"Parameter ''{0}'' bol rozpoznan\u00fd, ale vy\u017eadovan\u00e1 hodnota sa ned\u00e1 nastavi\u0165."},
{MsgKey.ER_STRING_TOO_LONG,
"V\u00fdsledn\u00fd re\u0165azec je pr\u00edli\u0161 dlh\u00fd a nezmest\u00ed sa do DOMString: ''{0}''."},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"Typ hodnoty pre tento n\u00e1zov parametra je nekompatibiln\u00fd s o\u010dak\u00e1van\u00fdm typom hodnoty."},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"Cie\u013e v\u00fdstupu pre zap\u00edsanie \u00fadajov bol null."},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"Bolo zaznamenan\u00e9 nepodporovan\u00e9 k\u00f3dovanie."},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"Uzol nebolo mo\u017en\u00e9 serializova\u0165."},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"\u010cas\u0165 CDATA obsahuje jeden alebo viacer\u00e9 ozna\u010dova\u010de konca ']]>'."},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"Nebolo mo\u017en\u00e9 vytvori\u0165 in\u0161tanciu kontrol\u00f3ra Well-Formedness. Parameter well-formed bol nastaven\u00fd na hodnotu true, ale kontrola well-formedness sa ned\u00e1 vykona\u0165."
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"Uzol ''{0}'' obsahuje neplatn\u00e9 znaky XML."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"V koment\u00e1ri bol n\u00e1jden\u00fd neplatn\u00fd znak XML (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"Pri spracovan\u00ed d\u00e1t in\u0161trukci\u00ed sa na\u0161iel neplatn\u00fd znak XML (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"V obsahu CDATASection sa na\u0161iel neplatn\u00fd znak XML (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"V obsahu znakov\u00fdch d\u00e1t uzla sa na\u0161iel neplatn\u00fd znak XML (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"V uzle {0} s n\u00e1zvom ''{1}'' sa na\u0161iel neplatn\u00fd znak XML."
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"Re\u0165azec \"--\" nie je povolen\u00fd v r\u00e1mci koment\u00e1rov."
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"Hodnota atrib\u00fatu \"{1}\", ktor\u00e1 je priraden\u00e1 k prvku typu \"{0}\", nesmie obsahova\u0165 znak ''<''."
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"Neanalyzovan\u00fd odkaz na entitu \"&{0};\" nie je povolen\u00fd."
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"Odkaz na extern\u00fa entitu \"&{0};\" nie je povolen\u00fd v hodnote atrib\u00fatu."
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"Predpona \"{0}\" nem\u00f4\u017ee by\u0165 naviazan\u00e1 na n\u00e1zvov\u00fd priestor \"{1}\"."
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"Lok\u00e1lny n\u00e1zov prvku \"{0}\" je null."
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"Lok\u00e1lny n\u00e1zov atrib\u00fatu \"{0}\" je null."
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"N\u00e1hradn\u00fd text pre uzol entity \"{0}\" obsahuje uzol prvku \"{1}\" s nenaviazanou predponou \"{2}\"."
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"N\u00e1hradn\u00fd text uzla entity \"{0}\" obsahuje uzol atrib\u00fatu \"{1}\" s nenaviazanou predponou \"{2}\"."
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_sk extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_sk::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_sk.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_sk.java | Apache-2.0 |
public static boolean isSupplemental(int c) {
return (c >= 0x10000 && c <= 0x10FFFF);
} |
Returns true if the specified character is a supplemental character.
@param c The character to check.
| XMLChar::isSupplemental | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static int supplemental(char h, char l) {
return (h - 0xD800) * 0x400 + (l - 0xDC00) + 0x10000;
} |
Returns true the supplemental character corresponding to the given
surrogates.
@param h The high surrogate.
@param l The low surrogate.
| XMLChar::supplemental | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static char highSurrogate(int c) {
return (char) (((c - 0x00010000) >> 10) + 0xD800);
} |
Returns the high surrogate of a supplemental character
@param c The supplemental character to "split".
| XMLChar::highSurrogate | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static char lowSurrogate(int c) {
return (char) (((c - 0x00010000) & 0x3FF) + 0xDC00);
} |
Returns the low surrogate of a supplemental character
@param c The supplemental character to "split".
| XMLChar::lowSurrogate | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isHighSurrogate(int c) {
return (0xD800 <= c && c <= 0xDBFF);
} |
Returns whether the given character is a high surrogate
@param c The character to check.
| XMLChar::isHighSurrogate | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isLowSurrogate(int c) {
return (0xDC00 <= c && c <= 0xDFFF);
} |
Returns whether the given character is a low surrogate
@param c The character to check.
| XMLChar::isLowSurrogate | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isValid(int c) {
return (c < 0x10000 && (CHARS[c] & MASK_VALID) != 0) ||
(0x10000 <= c && c <= 0x10FFFF);
} // isValid(int):boolean |
Returns true if the specified character is valid. This method
also checks the surrogate character range from 0x10000 to 0x10FFFF.
<p>
If the program chooses to apply the mask directly to the
<code>CHARS</code> array, then they are responsible for checking
the surrogate character range.
@param c The character to check.
| XMLChar::isValid | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isInvalid(int c) {
return !isValid(c);
} // isInvalid(int):boolean |
Returns true if the specified character is invalid.
@param c The character to check.
| XMLChar::isInvalid | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isContent(int c) {
return (c < 0x10000 && (CHARS[c] & MASK_CONTENT) != 0) ||
(0x10000 <= c && c <= 0x10FFFF);
} // isContent(int):boolean |
Returns true if the specified character can be considered content.
@param c The character to check.
| XMLChar::isContent | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isMarkup(int c) {
return c == '<' || c == '&' || c == '%';
} // isMarkup(int):boolean |
Returns true if the specified character can be considered markup.
Markup characters include '<', '&', and '%'.
@param c The character to check.
| XMLChar::isMarkup | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isSpace(int c) {
return c <= 0x20 && (CHARS[c] & MASK_SPACE) != 0;
} // isSpace(int):boolean |
Returns true if the specified character is a space character
as defined by production [3] in the XML 1.0 specification.
@param c The character to check.
| XMLChar::isSpace | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isNameStart(int c) {
return c < 0x10000 && (CHARS[c] & MASK_NAME_START) != 0;
} // isNameStart(int):boolean |
Returns true if the specified character is a valid name start
character as defined by production [5] in the XML 1.0
specification.
@param c The character to check.
| XMLChar::isNameStart | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isName(int c) {
return c < 0x10000 && (CHARS[c] & MASK_NAME) != 0;
} // isName(int):boolean |
Returns true if the specified character is a valid name
character as defined by production [4] in the XML 1.0
specification.
@param c The character to check.
| XMLChar::isName | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isNCNameStart(int c) {
return c < 0x10000 && (CHARS[c] & MASK_NCNAME_START) != 0;
} // isNCNameStart(int):boolean |
Returns true if the specified character is a valid NCName start
character as defined by production [4] in Namespaces in XML
recommendation.
@param c The character to check.
| XMLChar::isNCNameStart | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isNCName(int c) {
return c < 0x10000 && (CHARS[c] & MASK_NCNAME) != 0;
} // isNCName(int):boolean |
Returns true if the specified character is a valid NCName
character as defined by production [5] in Namespaces in XML
recommendation.
@param c The character to check.
| XMLChar::isNCName | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isPubid(int c) {
return c < 0x10000 && (CHARS[c] & MASK_PUBID) != 0;
} // isPubid(int):boolean |
Returns true if the specified character is a valid Pubid
character as defined by production [13] in the XML 1.0
specification.
@param c The character to check.
| XMLChar::isPubid | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isValidName(String name) {
if (name.length() == 0)
return false;
char ch = name.charAt(0);
if( isNameStart(ch) == false)
return false;
for (int i = 1; i < name.length(); i++ ) {
ch = name.charAt(i);
if( isName( ch ) == false ){
return false;
}
}
return true;
} // isValidName(String):boolean |
Check to see if a string is a valid Name according to [5]
in the XML 1.0 Recommendation
@param name string to check
@return true if name is a valid Name
| XMLChar::isValidName | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isValidNCName(String ncName) {
if (ncName.length() == 0)
return false;
char ch = ncName.charAt(0);
if( isNCNameStart(ch) == false)
return false;
for (int i = 1; i < ncName.length(); i++ ) {
ch = ncName.charAt(i);
if( isNCName( ch ) == false ){
return false;
}
}
return true;
} // isValidNCName(String):boolean |
Check to see if a string is a valid NCName according to [4]
from the XML Namespaces 1.0 Recommendation
@param ncName string to check
@return true if name is a valid NCName
| XMLChar::isValidNCName | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isValidNmtoken(String nmtoken) {
if (nmtoken.length() == 0)
return false;
for (int i = 0; i < nmtoken.length(); i++ ) {
char ch = nmtoken.charAt(i);
if( ! isName( ch ) ){
return false;
}
}
return true;
} // isValidName(String):boolean |
Check to see if a string is a valid Nmtoken according to [7]
in the XML 1.0 Recommendation
@param nmtoken string to check
@return true if nmtoken is a valid Nmtoken
| XMLChar::isValidNmtoken | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isValidIANAEncoding(String ianaEncoding) {
if (ianaEncoding != null) {
int length = ianaEncoding.length();
if (length > 0) {
char c = ianaEncoding.charAt(0);
if ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z')) {
for (int i = 1; i < length; i++) {
c = ianaEncoding.charAt(i);
if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z') &&
(c < '0' || c > '9') && c != '.' && c != '_' &&
c != '-') {
return false;
}
}
return true;
}
}
}
return false;
} // isValidIANAEncoding(String):boolean |
Returns true if the encoding name is a valid IANA encoding.
This method does not verify that there is a decoder available
for this encoding, only that the characters are valid for an
IANA encoding name.
@param ianaEncoding The IANA encoding name.
| XMLChar::isValidIANAEncoding | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public static boolean isValidJavaEncoding(String javaEncoding) {
if (javaEncoding != null) {
int length = javaEncoding.length();
if (length > 0) {
for (int i = 1; i < length; i++) {
char c = javaEncoding.charAt(i);
if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z') &&
(c < '0' || c > '9') && c != '.' && c != '_' &&
c != '-') {
return false;
}
}
return true;
}
}
return false;
} // isValidIANAEncoding(String):boolean |
Returns true if the encoding name is a valid Java encoding.
This method does not verify that there is a decoder available
for this encoding, only that the characters are valid for an
Java encoding name.
@param javaEncoding The Java encoding name.
| XMLChar::isValidJavaEncoding | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/XMLChar.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"\u30e1\u30c3\u30bb\u30fc\u30b8\u30fb\u30ad\u30fc ''{0}'' \u306f\u30e1\u30c3\u30bb\u30fc\u30b8\u30fb\u30af\u30e9\u30b9 ''{1}'' \u306b\u3042\u308a\u307e\u305b\u3093\u3002" },
{ MsgKey.BAD_MSGFORMAT,
"\u30e1\u30c3\u30bb\u30fc\u30b8\u30fb\u30af\u30e9\u30b9 ''{1}'' \u306e\u30e1\u30c3\u30bb\u30fc\u30b8 ''{0}'' \u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u8a2d\u5b9a\u304c\u5931\u6557\u3057\u307e\u3057\u305f\u3002" },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"\u30b7\u30ea\u30a2\u30e9\u30a4\u30b6\u30fc\u30fb\u30af\u30e9\u30b9 ''{0}'' \u306f org.xml.sax.ContentHandler \u3092\u5b9f\u88c5\u3057\u307e\u305b\u3093\u3002" },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"\u30ea\u30bd\u30fc\u30b9 [ {0} ] \u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\n {1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"\u30ea\u30bd\u30fc\u30b9 [ {0} ] \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f: {1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"\u30d0\u30c3\u30d5\u30a1\u30fc\u30fb\u30b5\u30a4\u30ba <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"\u7121\u52b9\u306a UTF-16 \u30b5\u30ed\u30b2\u30fc\u30c8\u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f: {0} ?" },
{ MsgKey.ER_OIERROR,
"\u5165\u51fa\u529b\u30a8\u30e9\u30fc" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"\u4e0b\u4f4d\u30ce\u30fc\u30c9\u306e\u5f8c\u307e\u305f\u306f\u8981\u7d20\u304c\u751f\u6210\u3055\u308c\u308b\u524d\u306b\u5c5e\u6027 {0} \u306f\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3002 \u5c5e\u6027\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002" },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"\u63a5\u982d\u90e8 ''{0}'' \u306e\u540d\u524d\u7a7a\u9593\u304c\u5ba3\u8a00\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002" },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"\u5c5e\u6027 ''{0}'' \u304c\u8981\u7d20\u306e\u5916\u5074\u3067\u3059\u3002" },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"\u540d\u524d\u7a7a\u9593\u5ba3\u8a00 ''{0}''=''{1}'' \u304c\u8981\u7d20\u306e\u5916\u5074\u3067\u3059\u3002" },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"''{0}'' \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f (CLASSPATH \u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044)\u3002\u73fe\u5728\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u3082\u306e\u306e\u307f\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002" },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"{1} \u306e\u6307\u5b9a\u3055\u308c\u305f\u51fa\u529b\u30a8\u30f3\u30b3\u30fc\u30c9\u3067\u8868\u305b\u306a\u3044\u6574\u6570\u5024 {0} \u306e\u6587\u5b57\u306e\u51fa\u529b\u3092\u8a66\u307f\u307e\u3057\u305f\u3002" },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"\u51fa\u529b\u30e1\u30bd\u30c3\u30c9 ''{1}'' \u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\u30fb\u30d5\u30a1\u30a4\u30eb ''{0}'' \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f (CLASSPATH \u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044)" },
{ MsgKey.ER_INVALID_PORT,
"\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u756a\u53f7" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"\u30db\u30b9\u30c8\u304c\u30cc\u30eb\u3067\u3042\u308b\u3068\u30dd\u30fc\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"\u30db\u30b9\u30c8\u306f\u3046\u307e\u304f\u69cb\u6210\u3055\u308c\u305f\u30a2\u30c9\u30ec\u30b9\u3067\u3042\u308a\u307e\u305b\u3093" },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"\u30b9\u30ad\u30fc\u30e0\u306f\u4e00\u81f4\u3057\u3066\u3044\u307e\u305b\u3093\u3002" },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"\u30cc\u30eb\u30fb\u30b9\u30c8\u30ea\u30f3\u30b0\u304b\u3089\u306f\u30b9\u30ad\u30fc\u30e0\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"\u30d1\u30b9\u306b\u7121\u52b9\u306a\u30a8\u30b9\u30b1\u30fc\u30d7\u30fb\u30b7\u30fc\u30b1\u30f3\u30b9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059" },
{ MsgKey.ER_PATH_INVALID_CHAR,
"\u30d1\u30b9\u306b\u7121\u52b9\u6587\u5b57: {0} \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306b\u7121\u52b9\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059" },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"\u30d1\u30b9\u304c\u30cc\u30eb\u3067\u3042\u308b\u3068\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"\u7dcf\u79f0 URI \u306e\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3057\u304b\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"\u30b9\u30ad\u30fc\u30e0\u306f URI \u3067\u898b\u3064\u304b\u308a\u307e\u305b\u3093" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"URI \u306f\u7a7a\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u3066\u521d\u671f\u5316\u3067\u304d\u307e\u305b\u3093" },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306f\u30d1\u30b9\u3068\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306e\u4e21\u65b9\u306b\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093" },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"\u7167\u4f1a\u30b9\u30c8\u30ea\u30f3\u30b0\u306f\u30d1\u30b9\u304a\u3088\u3073\u7167\u4f1a\u30b9\u30c8\u30ea\u30f3\u30b0\u5185\u306b\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093" },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"\u30db\u30b9\u30c8\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u30dd\u30fc\u30c8\u3092\u6307\u5b9a\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093" },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"\u30db\u30b9\u30c8\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f Userinfo \u3092\u6307\u5b9a\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093" },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"\u8b66\u544a: \u51fa\u529b\u6587\u66f8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3057\u3066 ''{0}'' \u304c\u8981\u6c42\u3055\u308c\u307e\u3057\u305f\u3002 \u3053\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e XML \u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093\u3002 \u51fa\u529b\u6587\u66f8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f ''1.0'' \u306b\u306a\u308a\u307e\u3059\u3002" },
{ MsgKey.ER_SCHEME_REQUIRED,
"\u30b9\u30ad\u30fc\u30e0\u304c\u5fc5\u8981\u3067\u3059\u3002" },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"SerializerFactory \u306b\u6e21\u3055\u308c\u305f Properties \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f ''{0}'' \u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\u304c\u3042\u308a\u307e\u305b\u3093\u3002" },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"\u8b66\u544a: \u30a8\u30f3\u30b3\u30fc\u30c9 ''{0}'' \u306f\u3053\u306e Java \u30e9\u30f3\u30bf\u30a4\u30e0\u3067\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002" },
{MsgKey.ER_FEATURE_NOT_FOUND,
"\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc ''{0}'' \u306f\u8a8d\u8b58\u3055\u308c\u307e\u305b\u3093\u3002"},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc ''{0}'' \u306f\u8a8d\u8b58\u3055\u308c\u307e\u3059\u304c\u3001\u8981\u6c42\u3055\u308c\u305f\u5024\u306f\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093\u3002"},
{MsgKey.ER_STRING_TOO_LONG,
"\u7d50\u679c\u306e\u30b9\u30c8\u30ea\u30f3\u30b0\u304c\u9577\u3059\u304e\u308b\u305f\u3081\u3001DOMString \u5185\u306b\u53ce\u307e\u308a\u307e\u305b\u3093: ''{0}''\u3002"},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"\u3053\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u540d\u306e\u5024\u306e\u578b\u306f\u3001\u671f\u5f85\u3055\u308c\u308b\u5024\u306e\u578b\u3068\u4e0d\u9069\u5408\u3067\u3059\u3002"},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"\u66f8\u304d\u8fbc\u307e\u308c\u308b\u30c7\u30fc\u30bf\u306e\u51fa\u529b\u5b9b\u5148\u304c\u30cc\u30eb\u3067\u3059\u3002"},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u3044\u30a8\u30f3\u30b3\u30fc\u30c9\u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f\u3002"},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"\u30ce\u30fc\u30c9\u3092\u76f4\u5217\u5316\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002"},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"CDATA \u30bb\u30af\u30b7\u30e7\u30f3\u306b 1 \u3064\u4ee5\u4e0a\u306e\u7d42\u4e86\u30de\u30fc\u30ab\u30fc ']]>' \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002"},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"\u6574\u5f62\u5f0f\u6027\u30c1\u30a7\u30c3\u30ab\u30fc\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002 well-formed \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u8a2d\u5b9a\u306f true \u3067\u3057\u305f\u304c\u3001\u6574\u5f62\u5f0f\u6027\u306e\u691c\u67fb\u306f\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093\u3002"
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"\u30ce\u30fc\u30c9 ''{0}'' \u306b\u7121\u52b9\u306a XML \u6587\u5b57\u304c\u3042\u308a\u307e\u3059\u3002"
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"\u30b3\u30e1\u30f3\u30c8\u306e\u4e2d\u306b\u7121\u52b9\u306a XML \u6587\u5b57 (Unicode: 0x{0}) \u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002"
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"\u51e6\u7406\u547d\u4ee4\u30c7\u30fc\u30bf\u306e\u4e2d\u306b\u7121\u52b9\u306a XML \u6587\u5b57 (Unicode: 0x{0}) \u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002"
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"CDATA \u30bb\u30af\u30b7\u30e7\u30f3\u306e\u4e2d\u306b\u7121\u52b9\u306a XML \u6587\u5b57 (Unicode: 0x{0}) \u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002"
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"\u30ce\u30fc\u30c9\u306e\u6587\u5b57\u30c7\u30fc\u30bf\u306e\u5185\u5bb9\u306b\u7121\u52b9\u306a XML \u6587\u5b57 (Unicode: 0x{0}) \u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002"
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"''{1}'' \u3068\u3044\u3046\u540d\u524d\u306e {0} \u30ce\u30fc\u30c9\u306e\u4e2d\u306b\u7121\u52b9\u306a XML \u6587\u5b57\u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002"
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"\u30b9\u30c8\u30ea\u30f3\u30b0 \"--\" \u306f\u30b3\u30e1\u30f3\u30c8\u5185\u3067\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002"
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"\u8981\u7d20\u578b \"{0}\" \u306b\u95a2\u9023\u3057\u305f\u5c5e\u6027 \"{1}\" \u306e\u5024\u306b\u306f ''<'' \u6587\u5b57\u3092\u542b\u3081\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u3002"
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"\u89e3\u6790\u5bfe\u8c61\u5916\u5b9f\u4f53\u53c2\u7167 \"&{0};\" \u306f\u8a31\u53ef\u3055\u308c\u307e\u305b\u3093\u3002"
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"\u5c5e\u6027\u5024\u3067\u306e\u5916\u90e8\u5b9f\u4f53\u53c2\u7167 \"&{0};\" \u306f\u8a31\u53ef\u3055\u308c\u307e\u305b\u3093\u3002"
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"\u63a5\u982d\u90e8 \"{0}\" \u306f\u540d\u524d\u7a7a\u9593 \"{1}\" \u306b\u7d50\u5408\u3067\u304d\u307e\u305b\u3093\u3002"
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"\u8981\u7d20 \"{0}\" \u306e\u30ed\u30fc\u30ab\u30eb\u540d\u304c\u30cc\u30eb\u3067\u3059\u3002"
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"\u5c5e\u6027 \"{0}\" \u306e\u30ed\u30fc\u30ab\u30eb\u540d\u304c\u30cc\u30eb\u3067\u3059\u3002"
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"\u5b9f\u4f53\u30ce\u30fc\u30c9 \"{0}\" \u306e\u7f6e\u63db\u30c6\u30ad\u30b9\u30c8\u306b\u3001\u672a\u7d50\u5408\u306e\u63a5\u982d\u90e8 \"{2}\" \u3092\u6301\u3064\u8981\u7d20\u30ce\u30fc\u30c9 \"{1}\" \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002"
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"\u5b9f\u4f53\u30ce\u30fc\u30c9 \"{0}\" \u306e\u7f6e\u63db\u30c6\u30ad\u30b9\u30c8\u306b\u3001\u672a\u7d50\u5408\u306e\u63a5\u982d\u90e8 \"{2}\" \u3092\u6301\u3064\u5c5e\u6027\u30ce\u30fc\u30c9 \"{1}\" \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002"
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_ja extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_ja::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_ja.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_ja.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"A(z) ''{0}'' \u00fczenetkulcs nem tal\u00e1lhat\u00f3 a(z) ''{1}'' \u00fczenetoszt\u00e1lyban." },
{ MsgKey.BAD_MSGFORMAT,
"A(z) ''{1}'' \u00fczenetoszt\u00e1ly ''{0}'' \u00fczenet\u00e9nek form\u00e1tuma hib\u00e1s." },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"A(z) ''{0}'' p\u00e9ld\u00e1nyos\u00edt\u00f3 oszt\u00e1ly nem val\u00f3s\u00edtja meg az org.xml.sax.ContentHandler f\u00fcggv\u00e9nyt." },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"A(z) [ {0} ] er\u0151forr\u00e1s nem tal\u00e1lhat\u00f3.\n {1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"A(z) [ {0} ] er\u0151forr\u00e1st nem lehet bet\u00f6lteni: {1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"Pufferm\u00e9ret <= 0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"\u00c9rv\u00e9nytelen UTF-16 helyettes\u00edt\u00e9s: {0} ?" },
{ MsgKey.ER_OIERROR,
"IO hiba" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"Nem lehet {0} attrib\u00fatumot hozz\u00e1adni ut\u00f3d csom\u00f3pontok ut\u00e1n vagy egy elem el\u0151\u00e1ll\u00edt\u00e1sa el\u0151tt. Az attrib\u00fatum figyelmen k\u00edv\u00fcl marad." },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"A(z) ''{0}'' el\u0151tag n\u00e9vtere nincs deklar\u00e1lva." },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"A(z) ''{0}'' attrib\u00fatum k\u00edv\u00fcl esik az elemen." },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"A(z) ''{0}''=''{1}'' n\u00e9vt\u00e9rdeklar\u00e1ci\u00f3 k\u00edv\u00fcl esik az elemen." },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"Nem lehet bet\u00f6lteni ''{0}'' er\u0151forr\u00e1st (ellen\u0151rizze a CLASSPATH be\u00e1ll\u00edt\u00e1st), a rendszer az alap\u00e9rtelmez\u00e9seket haszn\u00e1lja." },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"K\u00eds\u00e9rletet tett {0} \u00e9rt\u00e9k\u00e9nek karakteres ki\u00edr\u00e1s\u00e1ra, de nem jelen\u00edthet\u0151 meg a megadott {1} kimeneti k\u00f3dol\u00e1ssal." },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"Nem lehet bet\u00f6lteni a(z) ''{0}'' tulajdons\u00e1gf\u00e1jlt a(z) ''{1}'' met\u00f3dushoz (ellen\u0151rizze a CLASSPATH be\u00e1ll\u00edt\u00e1st)" },
{ MsgKey.ER_INVALID_PORT,
"\u00c9rv\u00e9nytelen portsz\u00e1m" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"A portot nem \u00e1ll\u00edthatja be, ha a hoszt null" },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"A hoszt nem j\u00f3l form\u00e1zott c\u00edm" },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"A s\u00e9ma nem megfelel\u0151." },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"Nem lehet be\u00e1ll\u00edtani a s\u00e9m\u00e1t null karaktersorozatb\u00f3l" },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"Az el\u00e9r\u00e9si \u00fat \u00e9rv\u00e9nytelen vez\u00e9rl\u0151 jelsorozatot tartalmaz" },
{ MsgKey.ER_PATH_INVALID_CHAR,
"Az el\u00e9r\u00e9si \u00fat \u00e9rv\u00e9nytelen karaktert tartalmaz: {0}" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"A t\u00f6red\u00e9k \u00e9rv\u00e9nytelen karaktert tartalmaz" },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"A t\u00f6red\u00e9ket nem \u00e1ll\u00edthatja be, ha az el\u00e9r\u00e9si \u00fat null" },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"Csak \u00e1ltal\u00e1nos URI-hoz \u00e1ll\u00edthat be t\u00f6red\u00e9ket" },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"Nem tal\u00e1lhat\u00f3 s\u00e9ma az URI-ban" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"Az URI nem inicializ\u00e1lhat\u00f3 \u00fcres param\u00e9terekkel" },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"Nem adhat meg t\u00f6red\u00e9ket az el\u00e9r\u00e9si \u00fatban \u00e9s a t\u00f6red\u00e9kben is" },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"Nem adhat meg lek\u00e9rdez\u00e9si karaktersorozatot az el\u00e9r\u00e9si \u00fatban \u00e9s a lek\u00e9rdez\u00e9si karaktersorozatban" },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"Nem adhatja meg a portot, ha nincs megadva hoszt" },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"Nem adhatja meg a felhaszn\u00e1l\u00f3i inform\u00e1ci\u00f3kat, ha nincs megadva hoszt" },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"Figyelmeztet\u00e9s: A kimeneti dokumentum k\u00e9rt verzi\u00f3ja ''{0}''. Az XML ezen verzi\u00f3ja nem t\u00e1mogatott. A kimeneti dokumentum verzi\u00f3ja ''1.0'' lesz." },
{ MsgKey.ER_SCHEME_REQUIRED,
"S\u00e9m\u00e1ra van sz\u00fcks\u00e9g!" },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"A SerializerFactory oszt\u00e1lynak \u00e1tadott Properties objektumnak nincs ''{0}'' tulajdons\u00e1ga." },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"Figyelmeztet\u00e9s: A(z) ''{0}'' k\u00f3dol\u00e1st nem t\u00e1mogatja a Java fut\u00e1si k\u00f6rnyezet." },
{MsgKey.ER_FEATURE_NOT_FOUND,
"A(z) ''{0}'' param\u00e9ter nem ismerhet\u0151 fel."},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"A(z) ''{0}'' param\u00e9ter ismert, de a k\u00e9rt \u00e9rt\u00e9k nem \u00e1ll\u00edthat\u00f3 be."},
{MsgKey.ER_STRING_TOO_LONG,
"A l\u00e9trej\u00f6v\u0151 karaktersorozat t\u00fal hossz\u00fa, nem f\u00e9r el egy DOMString-ben: ''{0}''."},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"A param\u00e9tern\u00e9v \u00e9rt\u00e9k\u00e9nek t\u00edpusa nem kompatibilis a v\u00e1rt t\u00edpussal."},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"Az adatki\u00edr\u00e1s c\u00e9ljak\u00e9nt megadott \u00e9rt\u00e9k \u00fcres volt."},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"Nem t\u00e1mogatott k\u00f3dol\u00e1s."},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"A csom\u00f3pont nem p\u00e9ld\u00e1nyos\u00edthat\u00f3."},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"A CDATA szakasz legal\u00e1bb egy ']]>' lez\u00e1r\u00f3 jelz\u0151t tartalmaz."},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"A szab\u00e1lyos form\u00e1z\u00e1st ellen\u0151rz\u0151 p\u00e9ld\u00e1nyt nem siker\u00fclt l\u00e9trehozni. A well-formed param\u00e9ter \u00e9rt\u00e9ke true, de a szab\u00e1lyos form\u00e1z\u00e1st nem lehet ellen\u0151rizni."
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"A(z) ''{0}'' csom\u00f3pont \u00e9rv\u00e9nytelen XML karaktereket tartalmaz."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"\u00c9rv\u00e9nytelen XML karakter (Unicode: 0x{0}) szerepelt a megjegyz\u00e9sben."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"\u00c9rv\u00e9nytelen XML karakter (Unicode: 0x{0}) szerepelt a feldolgoz\u00e1si utas\u00edt\u00e1sadatokban."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"\u00c9rv\u00e9nytelen XML karakter (Unicode: 0x{0}) szerepelt a CDATASection tartalm\u00e1ban."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"\u00c9rv\u00e9nytelen XML karakter (Unicode: 0x{0}) szerepelt a csom\u00f3pont karakteradat tartalm\u00e1ban."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"\u00c9rv\u00e9nytelen XML karakter tal\u00e1lhat\u00f3 a(z) ''{1}'' nev\u0171 {0} csom\u00f3pontban."
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"A \"--\" karaktersorozat nem megengedett a megjegyz\u00e9sekben."
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"A(z) \"{0}\" elemt\u00edpussal t\u00e1rs\u00edtott \"{1}\" attrib\u00fatum \u00e9rt\u00e9ke nem tartalmazhat ''<'' karaktert."
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"Az \u00e9rtelmez\u00e9s n\u00e9lk\u00fcli \"&{0};\" entit\u00e1shivatkoz\u00e1s nem megengedett."
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"A(z) \"&{0};\" k\u00fcls\u0151 entit\u00e1shivatkoz\u00e1s nem megengedett egy attrib\u00fatum\u00e9rt\u00e9kben."
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"A(z) \"{0}\" el\u0151tag nem k\u00f6thet\u0151 a(z) \"{1}\" n\u00e9vt\u00e9rhez."
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"A(z) \"{0}\" elem helyi neve null."
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"A(z) \"{0}\" attrib\u00fatum helyi neve null."
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"A(z) \"{0}\" entit\u00e1scsom\u00f3pont helyettes\u00edt\u0151 sz\u00f6vege a(z) \"{1}\" elemcsom\u00f3pontot tartalmazza, amelynek nem k\u00f6t\u00f6tt el\u0151tagja \"{2}\"."
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"A(z) \"{0}\" entit\u00e1scsom\u00f3pont helyettes\u00edt\u0151 sz\u00f6vege a(z) \"{1}\" attrib\u00fatum-csom\u00f3pontot tartalmazza, amelynek nem k\u00f6t\u00f6tt el\u0151tagja \"{2}\"."
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_hu extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_hu::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_hu.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_hu.java | Apache-2.0 |
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"Klju\u010d sporo\u010dila ''{0}'' ni v rezredu sporo\u010dila ''{1}''" },
{ MsgKey.BAD_MSGFORMAT,
"Format sporo\u010dila ''{0}'' v razredu sporo\u010dila ''{1}'' je spodletel." },
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"Razred serializerja ''{0}'' ne izvede org.xml.sax.ContentHandler." },
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"Vira [ {0} ] ni mogo\u010de najti.\n {1}" },
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"Sredstva [ {0} ] ni bilo mogo\u010de nalo\u017eiti: {1} \n {2} \t {3}" },
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"Velikost medpomnilnika <=0" },
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"Zaznan neveljaven nadomestek UTF-16: {0} ?" },
{ MsgKey.ER_OIERROR,
"Napaka V/I" },
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"Atributa {0} ne morem dodati za podrejenimi vozli\u0161\u010di ali pred izdelavo elementa. Atribut bo prezrt." },
/*
* Note to translators: The stylesheet contained a reference to a
* namespace prefix that was undefined. The value of the substitution
* text is the name of the prefix.
*/
{ MsgKey.ER_NAMESPACE_PREFIX,
"Imenski prostor za predpono ''{0}'' ni bil naveden." },
/*
* Note to translators: This message is reported if the stylesheet
* being processed attempted to construct an XML document with an
* attribute in a place other than on an element. The substitution text
* specifies the name of the attribute.
*/
{ MsgKey.ER_STRAY_ATTRIBUTE,
"Atribut ''{0}'' je zunaj elementa." },
/*
* Note to translators: As with the preceding message, a namespace
* declaration has the form of an attribute and is only permitted to
* appear on an element. The substitution text {0} is the namespace
* prefix and {1} is the URI that was being used in the erroneous
* namespace declaration.
*/
{ MsgKey.ER_STRAY_NAMESPACE,
"Deklaracija imenskega prostora ''{0}''=''{1}'' je zunaj elementa." },
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"Ni bilo mogo\u010de nalo\u017eiti ''{0}'' (preverite CLASSPATH), trenutno se uporabljajo samo privzete vrednosti" },
{ MsgKey.ER_ILLEGAL_CHARACTER,
"Poskus izpisa znaka integralne vrednosti {0}, ki v navedenem izhodnem kodiranju {1} ni zastopan." },
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"Datoteke z lastnostmi ''{0}'' ni bilo mogo\u010de nalo\u017eiti za izhodno metodo ''{1}'' (preverite CLASSPATH)" },
{ MsgKey.ER_INVALID_PORT,
"Neveljavna \u0161tevilka vrat" },
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"Ko je gostitelj NULL, nastavitev vrat ni mogo\u010da" },
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"Naslov gostitelja ni pravilno oblikovan" },
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"Shema ni skladna." },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"Ni mogo\u010de nastaviti sheme iz niza NULL" },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"Pot vsebuje neveljavno zaporedje za izhod" },
{ MsgKey.ER_PATH_INVALID_CHAR,
"Pot vsebuje neveljaven znak: {0}" },
{ MsgKey.ER_FRAG_INVALID_CHAR,
"Fragment vsebuje neveljaven znak" },
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"Ko je pot NULL, nastavitev fragmenta ni mogo\u010da" },
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"Fragment je lahko nastavljen samo za splo\u0161ni URI" },
{ MsgKey.ER_NO_SCHEME_IN_URI,
"Ne najdem sheme v URI" },
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"Ni mogo\u010de inicializirati URI-ja s praznimi parametri" },
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"Fragment ne more biti hkrati naveden v poti in v fragmentu" },
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"Poizvedbeni niz ne more biti naveden v nizu poti in poizvedbenem nizu" },
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"Vrata ne morejo biti navedena, \u010de ni naveden gostitelj" },
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"Informacije o uporabniku ne morejo biti navedene, \u010de ni naveden gostitelj" },
{ MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
"Opozorilo: Zahtevana razli\u010dica izhodnega dokumenta je ''{0}''. Ta razli\u010dica XML ni podprta. Razli\u010dica izhodnega dokumenta bo ''1.0''." },
{ MsgKey.ER_SCHEME_REQUIRED,
"Zahtevana je shema!" },
/*
* Note to translators: The words 'Properties' and
* 'SerializerFactory' in this message are Java class names
* and should not be translated.
*/
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
"Predmet Properties (lastnosti), ki je prene\u0161en v SerializerFactory, nima lastnosti ''{0}''." },
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
"Opozorilo: Izvajalno okolje Java ne podpira kodiranja ''{0}''." },
{MsgKey.ER_FEATURE_NOT_FOUND,
"Parameter ''{0}'' ni prepoznan."},
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
"Parameter ''{0}'' je prepoznan, vendar pa zahtevane vrednosti ni mogo\u010de nastaviti."},
{MsgKey.ER_STRING_TOO_LONG,
"Nastali niz je predolg za DOMString: ''{0}''."},
{MsgKey.ER_TYPE_MISMATCH_ERR,
"Tip vrednosti za to ime parametra je nezdru\u017eljiv s pri\u010dakovanim tipom vrednosti."},
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
"Izhodno mesto za vpisovanje podatkov je bilo ni\u010d."},
{MsgKey.ER_UNSUPPORTED_ENCODING,
"Odkrito je nepodprto kodiranje."},
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
"Vozli\u0161\u010da ni mogo\u010de serializirati."},
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
"Odsek CDATA vsebuje enega ali ve\u010d ozna\u010devalnikov prekinitve ']]>'."},
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
"Primerka preverjevalnika Well-Formedness ni bilo mogo\u010de ustvariti. Parameter well-formed je bil nastavljen na True, ampak ni mogo\u010de preveriti well-formedness."
},
{MsgKey.ER_WF_INVALID_CHARACTER,
"Vozli\u0161\u010de ''{0}'' vsebuje neveljavne znake XML."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
"V komentarju je bil najden neveljaven XML znak (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
"V podatkih navodila za obdelavo je bil najden neveljaven znak XML (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
"V vsebini odseka CDATASection je bil najden neveljaven znak XML (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
"V podatkovni vsebini znaka vozli\u0161\u010da je bil najden neveljaven znak XML (Unicode: 0x{0})."
},
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
"V vozli\u0161\u010du {0} z imenom ''{1}'' je bil najden neveljaven znak XML."
},
{ MsgKey.ER_WF_DASH_IN_COMMENT,
"Niz \"--\" ni dovoljen v komentarjih."
},
{MsgKey.ER_WF_LT_IN_ATTVAL,
"Vrednost atributa \"{1}\", ki je povezan s tipom elementa \"{0}\", ne sme vsebovati znaka ''<''."
},
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
"Neraz\u010dlenjeni sklic entitete \"&{0};\" ni dovoljen."
},
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
"Zunanji sklic entitete \"&{0};\" ni dovoljen v vrednosti atributa."
},
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
"Predpona \"{0}\" ne more biti povezana z imenskim prostorom \"{1}\"."
},
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
"Lokalno ime elementa \"{0}\" je ni\u010d."
},
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
"Lokalno ime atributa \"{0}\" je ni\u010d."
},
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
"Besedilo za zamenjavo za vozli\u0161\u010de entitete \"{0}\" vsebuje vozli\u0161\u010de elementa \"{1}\" z nevezano predpono \"{2}\"."
},
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
"Besedilo za zamenjavo za vozli\u0161\u010de entitete \"{0}\" vsebuje vozli\u0161\u010de atributa \"{1}\" z nevezano predpono \"{2}\"."
},
};
return contents;
} |
An instance of this class is a ListResourceBundle that
has the required getContents() method that returns
an array of message-key/message associations.
<p>
The message keys are defined in {@link MsgKey}. The
messages that those keys map to are defined here.
<p>
The messages in the English version are intended to be
translated.
This class is not a public API, it is only public because it is
used in org.apache.xml.serializer.
@xsl.usage internal
public class SerializerMessages_sl extends ListResourceBundle {
/*
This file contains error and warning messages related to
Serializer Error Handling.
General notes to translators:
1) A stylesheet is a description of how to transform an input XML document
into a resultant XML document (or HTML document or text). The
stylesheet itself is described in the form of an XML document.
2) An element is a mark-up tag in an XML document; an attribute is a
modifier on the tag. For example, in <elem attr='val' attr2='val2'>
"elem" is an element name, "attr" and "attr2" are attribute names with
the values "val" and "val2", respectively.
3) A namespace declaration is a special attribute that is used to associate
a prefix with a URI (the namespace). The meanings of element names and
attribute names that use that prefix are defined with respect to that
namespace.
/** The lookup table for error messages. | SerializerMessages_sl::getContents | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_sl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/SerializerMessages_sl.java | Apache-2.0 |
public DOM2Helper(){} |
Construct an instance.
| DOM2Helper::DOM2Helper | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/DOM2Helper.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/DOM2Helper.java | Apache-2.0 |
public String getLocalNameOfNode(Node n)
{
String name = n.getLocalName();
return (null == name) ? getLocalNameOfNodeFallback(n) : name;
} |
Returns the local name of the given node, as defined by the
XML Namespaces specification. This is prepared to handle documents
built using DOM Level 1 methods by falling back upon explicitly
parsing the node name.
@param n Node to be examined
@return String containing the local name, or null if the node
was not assigned a Namespace.
| DOM2Helper::getLocalNameOfNode | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/DOM2Helper.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/DOM2Helper.java | Apache-2.0 |
private String getLocalNameOfNodeFallback(Node n)
{
String qname = n.getNodeName();
int index = qname.indexOf(':');
return (index < 0) ? qname : qname.substring(index + 1);
} |
Returns the local name of the given node. If the node's name begins
with a namespace prefix, this is the part after the colon; otherwise
it's the full node name.
This method is copied from org.apache.xml.utils.DOMHelper
@param n the node to be examined.
@return String containing the Local Name
| DOM2Helper::getLocalNameOfNodeFallback | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/DOM2Helper.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/DOM2Helper.java | Apache-2.0 |
public String getNamespaceOfNode(Node n)
{
return n.getNamespaceURI();
} |
Returns the Namespace Name (Namespace URI) for the given node.
In a Level 2 DOM, you can ask the node itself. Note, however, that
doing so conflicts with our decision in getLocalNameOfNode not
to trust the that the DOM was indeed created using the Level 2
methods. If Level 1 methods were used, these two functions will
disagree with each other.
<p>
TODO: Reconcile with getLocalNameOfNode.
@param n Node to be examined
@return String containing the Namespace URI bound to this DOM node
at the time the Node was created.
| DOM2Helper::getNamespaceOfNode | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/DOM2Helper.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/DOM2Helper.java | Apache-2.0 |
Messages(String resourceBundle)
{
m_resourceBundleName = resourceBundle;
} |
Constructor.
@param resourceBundle the class name of the ListResourceBundle
that the instance of this class is associated with and will use when
creating messages.
The class name is without a language suffix. If the value passed
is null then loadResourceBundle(errorResourceClass) needs to be called
explicitly before any messages are created.
@xsl.usage internal
| Messages::Messages | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | Apache-2.0 |
private Locale getLocale()
{
return m_locale;
} |
Get the Locale object that is being used.
@return non-null reference to Locale object.
@xsl.usage internal
| Messages::getLocale | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | Apache-2.0 |
private ListResourceBundle getResourceBundle()
{
return m_resourceBundle;
} |
Get the ListResourceBundle being used by this Messages instance which was
previously set by a call to loadResourceBundle(className)
@xsl.usage internal
| Messages::getResourceBundle | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | Apache-2.0 |
public final String createMessage(String msgKey, Object args[])
{
if (m_resourceBundle == null)
m_resourceBundle = loadResourceBundle(m_resourceBundleName);
if (m_resourceBundle != null)
{
return createMsg(m_resourceBundle, msgKey, args);
}
else
return "Could not load the resource bundles: "+ m_resourceBundleName;
} |
Creates a message from the specified key and replacement
arguments, localized to the given locale.
@param msgKey The key for the message text.
@param args The arguments to be used as replacement text
in the message created.
@return The formatted message string.
@xsl.usage internal
| Messages::createMessage | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | Apache-2.0 |
private final String createMsg(
ListResourceBundle fResourceBundle,
String msgKey,
Object args[]) //throws Exception
{
String fmsg = null;
boolean throwex = false;
String msg = null;
if (msgKey != null)
msg = fResourceBundle.getString(msgKey);
else
msgKey = "";
if (msg == null)
{
throwex = true;
/* The message is not in the bundle . . . this is bad,
* so try to get the message that the message is not in the bundle
*/
try
{
msg =
java.text.MessageFormat.format(
MsgKey.BAD_MSGKEY,
new Object[] { msgKey, m_resourceBundleName });
}
catch (Exception e)
{
/* even the message that the message is not in the bundle is
* not there ... this is really bad
*/
msg =
"The message key '"
+ msgKey
+ "' is not in the message class '"
+ m_resourceBundleName+"'";
}
}
else if (args != null)
{
try
{
// Do this to keep format from crying.
// This is better than making a bunch of conditional
// code all over the place.
int n = args.length;
for (int i = 0; i < n; i++)
{
if (null == args[i])
args[i] = "";
}
fmsg = java.text.MessageFormat.format(msg, args);
// if we get past the line above we have create the message ... hurray!
}
catch (Exception e)
{
throwex = true;
try
{
// Get the message that the format failed.
fmsg =
java.text.MessageFormat.format(
MsgKey.BAD_MSGFORMAT,
new Object[] { msgKey, m_resourceBundleName });
fmsg += " " + msg;
}
catch (Exception formatfailed)
{
// We couldn't even get the message that the format of
// the message failed ... so fall back to English.
fmsg =
"The format of message '"
+ msgKey
+ "' in message class '"
+ m_resourceBundleName
+ "' failed.";
}
}
}
else
fmsg = msg;
if (throwex)
{
throw new RuntimeException(fmsg);
}
return fmsg;
} |
Creates a message from the specified key and replacement
arguments, localized to the given locale.
@param errorCode The key for the message text.
@param fResourceBundle The resource bundle to use.
@param msgKey The message key to use.
@param args The arguments to be used as replacement text
in the message created.
@return The formatted message string.
@xsl.usage internal
| Messages::createMsg | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | Apache-2.0 |
private ListResourceBundle loadResourceBundle(String resourceBundle)
throws MissingResourceException
{
m_resourceBundleName = resourceBundle;
Locale locale = getLocale();
ListResourceBundle lrb;
try
{
ResourceBundle rb =
ResourceBundle.getBundle(m_resourceBundleName, locale);
lrb = (ListResourceBundle) rb;
}
catch (MissingResourceException e)
{
try // try to fall back to en_US if we can't load
{
// Since we can't find the localized property file,
// fall back to en_US.
lrb =
(ListResourceBundle) ResourceBundle.getBundle(
m_resourceBundleName,
new Locale("en", "US"));
}
catch (MissingResourceException e2)
{
// Now we are really in trouble.
// very bad, definitely very bad...not going to get very far
throw new MissingResourceException(
"Could not load any resource bundles." + m_resourceBundleName,
m_resourceBundleName,
"");
}
}
m_resourceBundle = lrb;
return lrb;
} |
Return a named ResourceBundle for a particular locale. This method mimics the behavior
of ResourceBundle.getBundle().
@param className the name of the class that implements ListResourceBundle,
without language suffix.
@return the ResourceBundle
@throws MissingResourceException
@xsl.usage internal
| Messages::loadResourceBundle | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | Apache-2.0 |
private static String getResourceSuffix(Locale locale)
{
String suffix = "_" + locale.getLanguage();
String country = locale.getCountry();
if (country.equals("TW"))
suffix += "_" + country;
return suffix;
} |
Return the resource file suffic for the indicated locale
For most locales, this will be based the language code. However
for Chinese, we do distinguish between Taiwan and PRC
@param locale the locale
@return an String suffix which can be appended to a resource name
@xsl.usage internal
| Messages::getResourceSuffix | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/Messages.java | Apache-2.0 |
public int first(int context)
{
return next(context, context);
} |
By the nature of the stateless traversal, the context node can not be
returned or the iteration will go into an infinate loop. So to traverse
an axis, the first function must be used to get the first node.
<p>This method needs to be overloaded only by those axis that process
the self node. <\p>
@param context The context node of this traversal. This is the point
that the traversal starts from.
@return the first node in the traversal.
| DTMAxisTraverser::first | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMAxisTraverser.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMAxisTraverser.java | Apache-2.0 |
public int first(int context, int extendedTypeID)
{
return next(context, context, extendedTypeID);
} |
By the nature of the stateless traversal, the context node can not be
returned or the iteration will go into an infinate loop. So to traverse
an axis, the first function must be used to get the first node.
<p>This method needs to be overloaded only by those axis that process
the self node. <\p>
@param context The context node of this traversal. This is the point
of origin for the traversal -- its "root node" or starting point.
@param extendedTypeID The extended type ID that must match.
@return the first node in the traversal.
| DTMAxisTraverser::first | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMAxisTraverser.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMAxisTraverser.java | Apache-2.0 |
static Object createObject(String factoryId, String fallbackClassName)
throws ConfigurationError {
return createObject(factoryId, null, fallbackClassName);
} // createObject(String,String):Object |
Finds the implementation Class object in the specified order. The
specified order is the following:
<ol>
<li>query the system property using <code>System.getProperty</code>
<li>read <code>META-INF/services/<i>factoryId</i></code> file
<li>use fallback classname
</ol>
@return instance of factory, never null
@param factoryId Name of the factory to find, same as
a property name
@param fallbackClassName Implementation class name, if nothing else
is found. Use null to mean no fallback.
@exception ObjectFactory.ConfigurationError
| ObjectFactory::createObject | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ObjectFactory.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ObjectFactory.java | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.