code
stringlengths 11
173k
| docstring
stringlengths 2
593k
| func_name
stringlengths 2
189
| language
stringclasses 1
value | repo
stringclasses 833
values | path
stringlengths 11
294
| url
stringlengths 60
339
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public void setScheme(String p_scheme) throws MalformedURIException
{
if (p_scheme == null)
{
throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_SCHEME_FROM_NULL_STRING, null)); //"Cannot set scheme from null string!");
}
if (!isConformantSchemeName(p_scheme))
{
throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_SCHEME_NOT_CONFORMANT, null)); //"The scheme is not conformant.");
}
m_scheme = p_scheme.toLowerCase();
} |
Set the scheme for this URI. The scheme is converted to lowercase
before it is set.
@param p_scheme the scheme for this URI (cannot be null)
@throws MalformedURIException if p_scheme is not a conformant
scheme name
| MalformedURIException::setScheme | 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 void setUserinfo(String p_userinfo) throws MalformedURIException
{
if (p_userinfo == null)
{
m_userinfo = null;
}
else
{
if (m_host == null)
{
throw new MalformedURIException(
"Userinfo cannot be set when host is null!");
}
// userinfo can contain alphanumerics, mark characters, escaped
// and ';',':','&','=','+','$',','
int index = 0;
int end = p_userinfo.length();
char testChar = '\0';
while (index < end)
{
testChar = p_userinfo.charAt(index);
if (testChar == '%')
{
if (index + 2 >= end ||!isHex(p_userinfo.charAt(index + 1))
||!isHex(p_userinfo.charAt(index + 2)))
{
throw new MalformedURIException(
"Userinfo contains invalid escape sequence!");
}
}
else if (!isUnreservedCharacter(testChar)
&& USERINFO_CHARACTERS.indexOf(testChar) == -1)
{
throw new MalformedURIException(
"Userinfo contains invalid character:" + testChar);
}
index++;
}
}
m_userinfo = p_userinfo;
} |
Set the userinfo for this URI. If a non-null value is passed in and
the host value is null, then an exception is thrown.
@param p_userinfo the userinfo for this URI
@throws MalformedURIException if p_userinfo contains invalid
characters
| MalformedURIException::setUserinfo | 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 void setHost(String p_host) throws MalformedURIException
{
if (p_host == null || p_host.trim().length() == 0)
{
m_host = p_host;
m_userinfo = null;
m_port = -1;
}
else if (!isWellFormedAddress(p_host))
{
throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED, null)); //"Host is not a well formed address!");
}
m_host = p_host;
} |
Set the host for this URI. If null is passed in, the userinfo
field is also set to null and the port is set to -1.
@param p_host the host for this URI
@throws MalformedURIException if p_host is not a valid IP
address or DNS hostname.
| MalformedURIException::setHost | 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 void setPort(int p_port) throws MalformedURIException
{
if (p_port >= 0 && p_port <= 65535)
{
if (m_host == null)
{
throw new MalformedURIException(
Utils.messages.createMessage(MsgKey.ER_PORT_WHEN_HOST_NULL, null)); //"Port cannot be set when host is null!");
}
}
else if (p_port != -1)
{
throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_INVALID_PORT, null)); //"Invalid port number!");
}
m_port = p_port;
} |
Set the port for this URI. -1 is used to indicate that the port is
not specified, otherwise valid port numbers are between 0 and 65535.
If a valid port number is passed in and the host field is null,
an exception is thrown.
@param p_port the port number for this URI
@throws MalformedURIException if p_port is not -1 and not a
valid port number
| MalformedURIException::setPort | 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 void setPath(String p_path) throws MalformedURIException
{
if (p_path == null)
{
m_path = null;
m_queryString = null;
m_fragment = null;
}
else
{
initializePath(p_path);
}
} |
Set the path for this URI. If the supplied path is null, then the
query string and fragment are set to null as well. If the supplied
path includes a query string and/or fragment, these fields will be
parsed and set as well. Note that, for URIs following the "generic
URI" syntax, the path specified should start with a slash.
For URIs that do not follow the generic URI syntax, this method
sets the scheme-specific part.
@param p_path the path for this URI (may be null)
@throws MalformedURIException if p_path contains invalid
characters
| MalformedURIException::setPath | 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 void appendPath(String p_addToPath) throws MalformedURIException
{
if (p_addToPath == null || p_addToPath.trim().length() == 0)
{
return;
}
if (!isURIString(p_addToPath))
{
throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_PATH_INVALID_CHAR, new Object[]{p_addToPath})); //"Path contains invalid character!");
}
if (m_path == null || m_path.trim().length() == 0)
{
if (p_addToPath.startsWith("/"))
{
m_path = p_addToPath;
}
else
{
m_path = "/" + p_addToPath;
}
}
else if (m_path.endsWith("/"))
{
if (p_addToPath.startsWith("/"))
{
m_path = m_path.concat(p_addToPath.substring(1));
}
else
{
m_path = m_path.concat(p_addToPath);
}
}
else
{
if (p_addToPath.startsWith("/"))
{
m_path = m_path.concat(p_addToPath);
}
else
{
m_path = m_path.concat("/" + p_addToPath);
}
}
} |
Append to the end of the path of this URI. If the current path does
not end in a slash and the path to be appended does not begin with
a slash, a slash will be appended to the current path before the
new segment is added. Also, if the current path ends in a slash
and the new segment begins with a slash, the extra slash will be
removed before the new segment is appended.
@param p_addToPath the new segment to be added to the current path
@throws MalformedURIException if p_addToPath contains syntax
errors
| MalformedURIException::appendPath | 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 void setQueryString(String p_queryString)
throws MalformedURIException
{
if (p_queryString == null)
{
m_queryString = null;
}
else if (!isGenericURI())
{
throw new MalformedURIException(
"Query string can only be set for a generic URI!");
}
else if (getPath() == null)
{
throw new MalformedURIException(
"Query string cannot be set when path is null!");
}
else if (!isURIString(p_queryString))
{
throw new MalformedURIException(
"Query string contains invalid character!");
}
else
{
m_queryString = p_queryString;
}
} |
Set the query string for this URI. A non-null value is valid only
if this is an URI conforming to the generic URI syntax and
the path value is not null.
@param p_queryString the query string for this URI
@throws MalformedURIException if p_queryString is not null and this
URI does not conform to the generic
URI syntax or if the path is null
| MalformedURIException::setQueryString | 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 void setFragment(String p_fragment) throws MalformedURIException
{
if (p_fragment == null)
{
m_fragment = null;
}
else if (!isGenericURI())
{
throw new MalformedURIException(
Utils.messages.createMessage(MsgKey.ER_FRAG_FOR_GENERIC_URI, null)); //"Fragment can only be set for a generic URI!");
}
else if (getPath() == null)
{
throw new MalformedURIException(
Utils.messages.createMessage(MsgKey.ER_FRAG_WHEN_PATH_NULL, null)); //"Fragment cannot be set when path is null!");
}
else if (!isURIString(p_fragment))
{
throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_FRAG_INVALID_CHAR, null)); //"Fragment contains invalid character!");
}
else
{
m_fragment = p_fragment;
}
} |
Set the fragment for this URI. A non-null value is valid only
if this is a URI conforming to the generic URI syntax and
the path value is not null.
@param p_fragment the fragment for this URI
@throws MalformedURIException if p_fragment is not null and this
URI does not conform to the generic
URI syntax or if the path is null
| MalformedURIException::setFragment | 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 boolean equals(Object p_test)
{
if (p_test instanceof URI)
{
URI testURI = (URI) p_test;
if (((m_scheme == null && testURI.m_scheme == null) || (m_scheme != null && testURI.m_scheme != null && m_scheme.equals(
testURI.m_scheme))) && ((m_userinfo == null && testURI.m_userinfo == null) || (m_userinfo != null && testURI.m_userinfo != null && m_userinfo.equals(
testURI.m_userinfo))) && ((m_host == null && testURI.m_host == null) || (m_host != null && testURI.m_host != null && m_host.equals(
testURI.m_host))) && m_port == testURI.m_port && ((m_path == null && testURI.m_path == null) || (m_path != null && testURI.m_path != null && m_path.equals(
testURI.m_path))) && ((m_queryString == null && testURI.m_queryString == null) || (m_queryString != null && testURI.m_queryString != null && m_queryString.equals(
testURI.m_queryString))) && ((m_fragment == null && testURI.m_fragment == null) || (m_fragment != null && testURI.m_fragment != null && m_fragment.equals(
testURI.m_fragment))))
{
return true;
}
}
return false;
} |
Determines if the passed-in Object is equivalent to this URI.
@param p_test the Object to test for equality.
@return true if p_test is a URI with all values equal to this
URI, false otherwise
| MalformedURIException::equals | 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 String toString()
{
StringBuffer uriSpecString = new StringBuffer();
if (m_scheme != null)
{
uriSpecString.append(m_scheme);
uriSpecString.append(':');
}
uriSpecString.append(getSchemeSpecificPart());
return uriSpecString.toString();
} |
Get the URI as a string specification. See RFC 2396 Section 5.2.
@return the URI string specification
| MalformedURIException::toString | 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 boolean isGenericURI()
{
// presence of the host (whether valid or empty) means
// double-slashes which means generic uri
return (m_host != null);
} |
Get the indicator as to whether this URI uses the "generic URI"
syntax.
@return true if this URI uses the "generic URI" syntax, false
otherwise
| MalformedURIException::isGenericURI | 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 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 |
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 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,
"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 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,
"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 |
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 |
public XMLStringFactory getXMLStringFactory()
{
return m_xsf;
} |
Get the XMLStringFactory used for the DTMs.
@return a valid XMLStringFactory object, or null if it hasn't been set yet.
| DTMManager::getXMLStringFactory | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | Apache-2.0 |
public void setXMLStringFactory(XMLStringFactory xsf)
{
m_xsf = xsf;
} |
Set the XMLStringFactory used for the DTMs.
@param xsf a valid XMLStringFactory object, should not be null.
| DTMManager::setXMLStringFactory | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | Apache-2.0 |
public static DTMManager newInstance(XMLStringFactory xsf)
throws DTMConfigurationException
{
DTMManager factoryImpl = null;
try
{
factoryImpl = (DTMManager) ObjectFactory
.createObject(defaultPropName, defaultClassName);
}
catch (ObjectFactory.ConfigurationError e)
{
throw new DTMConfigurationException(XMLMessages.createXMLMessage(
XMLErrorResources.ER_NO_DEFAULT_IMPL, null), e.getException());
//"No default implementation found");
}
if (factoryImpl == null)
{
throw new DTMConfigurationException(XMLMessages.createXMLMessage(
XMLErrorResources.ER_NO_DEFAULT_IMPL, null));
//"No default implementation found");
}
factoryImpl.setXMLStringFactory(xsf);
return factoryImpl;
} |
Obtain a new instance of a <code>DTMManager</code>.
This static method creates a new factory instance
This method uses the following ordered lookup procedure to determine
the <code>DTMManager</code> implementation class to
load:
<ul>
<li>
Use the <code>org.apache.xml.dtm.DTMManager</code> system
property.
</li>
<li>
Use the JAVA_HOME(the parent directory where jdk is
installed)/lib/xalan.properties for a property file that contains the
name of the implementation class keyed on the same value as the
system property defined above.
</li>
<li>
Use the Services API (as detailed in the JAR specification), if
available, to determine the classname. The Services API will look
for a classname in the file
<code>META-INF/services/org.apache.xml.dtm.DTMManager</code>
in jars available to the runtime.
</li>
<li>
Use the default <code>DTMManager</code> classname, which is
<code>org.apache.xml.dtm.ref.DTMManagerDefault</code>.
</li>
</ul>
Once an application has obtained a reference to a <code>
DTMManager</code> it can use the factory to configure
and obtain parser instances.
@return new DTMManager instance, never null.
@throws DTMConfigurationException
if the implementation is not available or cannot be instantiated.
| DTMManager::newInstance | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | Apache-2.0 |
public boolean getIncremental()
{
return m_incremental;
} |
Get a flag indicating whether an incremental transform is desired
@return incremental boolean.
| DTMManager::getIncremental | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | Apache-2.0 |
public void setIncremental(boolean incremental)
{
m_incremental = incremental;
} |
Set a flag indicating whether an incremental transform is desired
This flag should have the same value as the FEATURE_INCREMENTAL feature
which is set by the TransformerFactory.setAttribut() method before a
DTMManager is created
@param incremental boolean to use to set m_incremental.
| DTMManager::setIncremental | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | Apache-2.0 |
public boolean getSource_location()
{
return m_source_location;
} |
Get a flag indicating whether the transformation phase should
keep track of line and column numbers for the input source
document.
@return source location boolean
| DTMManager::getSource_location | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | Apache-2.0 |
public void setSource_location(boolean sourceLocation){
m_source_location = sourceLocation;
} |
Set a flag indicating whether the transformation phase should
keep track of line and column numbers for the input source
document.
This flag should have the same value as the FEATURE_SOURCE_LOCATION feature
which is set by the TransformerFactory.setAttribut() method before a
DTMManager is created
@param sourceLocation boolean to use to set m_source_location
| DTMManager::setSource_location | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | Apache-2.0 |
public int getDTMIdentityMask()
{
return IDENT_DTM_DEFAULT;
} |
%TBD% Doc
NEEDSDOC ($objectName$) @return
| DTMManager::getDTMIdentityMask | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMManager.java | Apache-2.0 |
public synchronized Throwable initCause(Throwable cause) {
if ((this.containedException == null) && (cause != null)) {
throw new IllegalStateException(XMLMessages.createXMLMessage(XMLErrorResources.ER_CANNOT_OVERWRITE_CAUSE, null)); //"Can't overwrite cause");
}
if (cause == this) {
throw new IllegalArgumentException(
XMLMessages.createXMLMessage(XMLErrorResources.ER_SELF_CAUSATION_NOT_PERMITTED, null)); //"Self-causation not permitted");
}
this.containedException = cause;
return this;
} |
Initializes the <i>cause</i> of this throwable to the specified value.
(The cause is the throwable that caused this throwable to get thrown.)
<p>This method can be called at most once. It is generally called from
within the constructor, or immediately after creating the
throwable. If this throwable was created
with {@link #DTMException(Throwable)} or
{@link #DTMException(String,Throwable)}, this method cannot be called
even once.
@param cause the cause (which is saved for later retrieval by the
{@link #getCause()} method). (A <tt>null</tt> value is
permitted, and indicates that the cause is nonexistent or
unknown.)
@return a reference to this <code>Throwable</code> instance.
@throws IllegalArgumentException if <code>cause</code> is this
throwable. (A throwable cannot
be its own cause.)
@throws IllegalStateException if this throwable was
created with {@link #DTMException(Throwable)} or
{@link #DTMException(String,Throwable)}, or this method has already
been called on this throwable.
| DTMException::initCause | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | Apache-2.0 |
public DTMException(String message) {
super(message);
this.containedException = null;
this.locator = null;
} |
Create a new DTMException.
@param message The error or warning message.
| DTMException::DTMException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | Apache-2.0 |
public DTMException(Throwable e) {
super(e.getMessage());
this.containedException = e;
this.locator = null;
} |
Create a new DTMException wrapping an existing exception.
@param e The exception to be wrapped.
| DTMException::DTMException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | Apache-2.0 |
public DTMException(String message, Throwable e) {
super(((message == null) || (message.length() == 0))
? e.getMessage()
: message);
this.containedException = e;
this.locator = null;
} |
Wrap an existing exception in a DTMException.
<p>This is used for throwing processor exceptions before
the processing has started.</p>
@param message The error or warning message, or null to
use the message from the embedded exception.
@param e Any exception
| DTMException::DTMException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | Apache-2.0 |
public DTMException(String message, SourceLocator locator) {
super(message);
this.containedException = null;
this.locator = locator;
} |
Create a new DTMException from a message and a Locator.
<p>This constructor is especially useful when an application is
creating its own exception from within a DocumentHandler
callback.</p>
@param message The error or warning message.
@param locator The locator object for the error or warning.
| DTMException::DTMException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | Apache-2.0 |
public DTMException(String message, SourceLocator locator,
Throwable e) {
super(message);
this.containedException = e;
this.locator = locator;
} |
Wrap an existing exception in a DTMException.
@param message The error or warning message, or null to
use the message from the embedded exception.
@param locator The locator object for the error or warning.
@param e Any exception
| DTMException::DTMException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | Apache-2.0 |
public String getMessageAndLocation() {
StringBuffer sbuffer = new StringBuffer();
String message = super.getMessage();
if (null != message) {
sbuffer.append(message);
}
if (null != locator) {
String systemID = locator.getSystemId();
int line = locator.getLineNumber();
int column = locator.getColumnNumber();
if (null != systemID) {
sbuffer.append("; SystemID: ");
sbuffer.append(systemID);
}
if (0 != line) {
sbuffer.append("; Line#: ");
sbuffer.append(line);
}
if (0 != column) {
sbuffer.append("; Column#: ");
sbuffer.append(column);
}
}
return sbuffer.toString();
} |
Get the error message with location information
appended.
| DTMException::getMessageAndLocation | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMException.java | Apache-2.0 |
public DTMDOMException(short code, String message)
{
super(code, message);
} |
Constructs a DOM/DTM exception.
@param code
@param message
| DTMDOMException::DTMDOMException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMDOMException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMDOMException.java | Apache-2.0 |
public DTMDOMException(short code)
{
super(code, "");
} |
Constructor DTMDOMException
@param code
| DTMDOMException::DTMDOMException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMDOMException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMDOMException.java | Apache-2.0 |
public DTMConfigurationException() {
super("Configuration Error");
} |
Create a new <code>DTMConfigurationException</code> with no
detail mesage.
| DTMConfigurationException::DTMConfigurationException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | Apache-2.0 |
public DTMConfigurationException(String msg) {
super(msg);
} |
Create a new <code>DTMConfigurationException</code> with
the <code>String </code> specified as an error message.
@param msg The error message for the exception.
| DTMConfigurationException::DTMConfigurationException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | Apache-2.0 |
public DTMConfigurationException(Throwable e) {
super(e);
} |
Create a new <code>DTMConfigurationException</code> with a
given <code>Exception</code> base cause of the error.
@param e The exception to be encapsulated in a
DTMConfigurationException.
| DTMConfigurationException::DTMConfigurationException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | Apache-2.0 |
public DTMConfigurationException(String msg, Throwable e) {
super(msg, e);
} |
Create a new <code>DTMConfigurationException</code> with the
given <code>Exception</code> base cause and detail message.
@param msg The detail message.
@param e The exception to be wrapped in a DTMConfigurationException
| DTMConfigurationException::DTMConfigurationException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | Apache-2.0 |
public DTMConfigurationException(String message,
SourceLocator locator) {
super(message, locator);
} |
Create a new DTMConfigurationException from a message and a Locator.
<p>This constructor is especially useful when an application is
creating its own exception from within a DocumentHandler
callback.</p>
@param message The error or warning message.
@param locator The locator object for the error or warning.
| DTMConfigurationException::DTMConfigurationException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | Apache-2.0 |
public DTMConfigurationException(String message,
SourceLocator locator,
Throwable e) {
super(message, locator, e);
} |
Wrap an existing exception in a DTMConfigurationException.
@param message The error or warning message, or null to
use the message from the embedded exception.
@param locator The locator object for the error or warning.
@param e Any exception.
| DTMConfigurationException::DTMConfigurationException | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMConfigurationException.java | Apache-2.0 |
public DTMDefaultBaseTraversers(DTMManager mgr, Source source,
int dtmIdentity,
DTMWSFilter whiteSpaceFilter,
XMLStringFactory xstringfactory,
boolean doIndexing)
{
super(mgr, source, dtmIdentity, whiteSpaceFilter, xstringfactory,
doIndexing);
} |
Construct a DTMDefaultBaseTraversers object from a DOM node.
@param mgr The DTMManager who owns this DTM.
@param source The object that is used to specify the construction source.
@param dtmIdentity The DTM identity ID for this DTM.
@param whiteSpaceFilter The white space filter for this DTM, which may
be null.
@param xstringfactory The factory to use for creating XMLStrings.
@param doIndexing true if the caller considers it worth it to use
indexing schemes.
| DTMDefaultBaseTraversers::DTMDefaultBaseTraversers | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public DTMDefaultBaseTraversers(DTMManager mgr, Source source,
int dtmIdentity,
DTMWSFilter whiteSpaceFilter,
XMLStringFactory xstringfactory,
boolean doIndexing,
int blocksize,
boolean usePrevsib,
boolean newNameTable)
{
super(mgr, source, dtmIdentity, whiteSpaceFilter, xstringfactory,
doIndexing, blocksize, usePrevsib, newNameTable);
} |
Construct a DTMDefaultBaseTraversers object from a DOM node.
@param mgr The DTMManager who owns this DTM.
@param source The object that is used to specify the construction source.
@param dtmIdentity The DTM identity ID for this DTM.
@param whiteSpaceFilter The white space filter for this DTM, which may
be null.
@param xstringfactory The factory to use for creating XMLStrings.
@param doIndexing true if the caller considers it worth it to use
indexing schemes.
@param blocksize The block size of the DTM.
@param usePrevsib true if we want to build the previous sibling node array.
@param newNameTable true if we want to use a new ExpandedNameTable for this DTM.
| DTMDefaultBaseTraversers::DTMDefaultBaseTraversers | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public DTMAxisTraverser getAxisTraverser(final int axis)
{
DTMAxisTraverser traverser;
if (null == m_traversers) // Cache of stateless traversers for this DTM
{
m_traversers = new DTMAxisTraverser[Axis.getNamesLength()];
traverser = null;
}
else
{
traverser = m_traversers[axis]; // Share/reuse existing traverser
if (traverser != null)
return traverser;
}
switch (axis) // Generate new traverser
{
case Axis.ANCESTOR :
traverser = new AncestorTraverser();
break;
case Axis.ANCESTORORSELF :
traverser = new AncestorOrSelfTraverser();
break;
case Axis.ATTRIBUTE :
traverser = new AttributeTraverser();
break;
case Axis.CHILD :
traverser = new ChildTraverser();
break;
case Axis.DESCENDANT :
traverser = new DescendantTraverser();
break;
case Axis.DESCENDANTORSELF :
traverser = new DescendantOrSelfTraverser();
break;
case Axis.FOLLOWING :
traverser = new FollowingTraverser();
break;
case Axis.FOLLOWINGSIBLING :
traverser = new FollowingSiblingTraverser();
break;
case Axis.NAMESPACE :
traverser = new NamespaceTraverser();
break;
case Axis.NAMESPACEDECLS :
traverser = new NamespaceDeclsTraverser();
break;
case Axis.PARENT :
traverser = new ParentTraverser();
break;
case Axis.PRECEDING :
traverser = new PrecedingTraverser();
break;
case Axis.PRECEDINGSIBLING :
traverser = new PrecedingSiblingTraverser();
break;
case Axis.SELF :
traverser = new SelfTraverser();
break;
case Axis.ALL :
traverser = new AllFromRootTraverser();
break;
case Axis.ALLFROMNODE :
traverser = new AllFromNodeTraverser();
break;
case Axis.PRECEDINGANDANCESTOR :
traverser = new PrecedingAndAncestorTraverser();
break;
case Axis.DESCENDANTSFROMROOT :
traverser = new DescendantFromRootTraverser();
break;
case Axis.DESCENDANTSORSELFFROMROOT :
traverser = new DescendantOrSelfFromRootTraverser();
break;
case Axis.ROOT :
traverser = new RootTraverser();
break;
case Axis.FILTEREDLIST :
return null; // Don't want to throw an exception for this one.
default :
throw new DTMException(XMLMessages.createXMLMessage(XMLErrorResources.ER_UNKNOWN_AXIS_TYPE, new Object[]{Integer.toString(axis)})); //"Unknown axis traversal type: "+axis);
}
if (null == traverser)
throw new DTMException(XMLMessages.createXMLMessage(XMLErrorResources.ER_AXIS_TRAVERSER_NOT_SUPPORTED, new Object[]{Axis.getNames(axis)}));
// "Axis traverser not supported: "
// + Axis.names[axis]);
m_traversers[axis] = traverser;
return traverser;
} |
This returns a stateless "traverser", that can navigate
over an XPath axis, though perhaps not in document order.
@param axis One of Axes.ANCESTORORSELF, etc.
@return A DTMAxisTraverser, or null if the given axis isn't supported.
| DTMDefaultBaseTraversers::getAxisTraverser | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int next(int context, int current)
{
return getParent(current);
} |
Traverse to the next node after the current node.
@param context The context node if this iteration.
@param current The current node of the iteration.
@return the next node in the iteration, or DTM.NULL.
| AncestorTraverser::next | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int next(int context, int current, int expandedTypeID)
{
// Process using identities
current = makeNodeIdentity(current);
while (DTM.NULL != (current = m_parent.elementAt(current)))
{
if (m_exptype.elementAt(current) == expandedTypeID)
return makeNodeHandle(current);
}
return NULL;
} |
Traverse to the next node after the current node that is matched
by the expanded type ID.
@param context The context node of this iteration.
@param current The current node of the iteration.
@param expandedTypeID The expanded type ID that must match.
@return the next node in the iteration, or DTM.NULL.
| AncestorTraverser::next | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int first(int context)
{
return context;
} |
By the nature of the stateless traversal, the context node can not be
returned or the iteration will go into an infinate loop. To see if
the self node should be processed, use this function.
@param context The context node of this traversal.
@return the first node in the traversal.
| AncestorOrSelfTraverser::first | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int first(int context, int expandedTypeID)
{
return (getExpandedTypeID(context) == expandedTypeID)
? context : next(context, context, expandedTypeID);
} |
By the nature of the stateless traversal, the context node can not be
returned or the iteration will go into an infinate loop. To see if
the self node should be processed, use this function. If the context
node does not match the expanded type ID, this function will return
false.
@param context The context node of this traversal.
@param expandedTypeID The expanded type ID that must match.
@return the first node in the traversal.
| AncestorOrSelfTraverser::first | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int next(int context, int current)
{
return (context == current)
? getFirstAttribute(context) : getNextAttribute(current);
} |
Traverse to the next node after the current node.
@param context The context node of this iteration.
@param current The current node of the iteration.
@return the next node in the iteration, or DTM.NULL.
| AttributeTraverser::next | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
protected int getNextIndexed(int axisRoot, int nextPotential,
int expandedTypeID)
{
int nsIndex = m_expandedNameTable.getNamespaceID(expandedTypeID);
int lnIndex = m_expandedNameTable.getLocalNameID(expandedTypeID);
for (; ; )
{
int nextID = findElementFromIndex(nsIndex, lnIndex, nextPotential);
if (NOTPROCESSED != nextID)
{
int parentID = m_parent.elementAt(nextID);
// Is it a child?
if(parentID == axisRoot)
return nextID;
// If the parent occured before the subtree root, then
// we know it is past the child axis.
if(parentID < axisRoot)
return NULL;
// Otherwise, it could be a descendant below the subtree root
// children, or it could be after the subtree root. So we have
// to climb up until the parent is less than the subtree root, in
// which case we return NULL, or until it is equal to the subtree
// root, in which case we continue to look.
do
{
parentID = m_parent.elementAt(parentID);
if(parentID < axisRoot)
return NULL;
}
while(parentID > axisRoot);
// System.out.println("Found node via index: "+first);
nextPotential = nextID+1;
continue;
}
nextNode();
if(!(m_nextsib.elementAt(axisRoot) == NOTPROCESSED))
break;
}
return DTM.NULL;
} |
Get the next indexed node that matches the expanded type ID. Before
calling this function, one should first call
{@link #isIndexed(int) isIndexed} to make sure that the index can
contain nodes that match the given expanded type ID.
@param axisRoot The root identity of the axis.
@param nextPotential The node found must match or occur after this node.
@param expandedTypeID The expanded type ID for the request.
@return The node ID or NULL if not found.
| ChildTraverser::getNextIndexed | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int first(int context, int expandedTypeID)
{
if(true)
{
int identity = makeNodeIdentity(context);
int firstMatch = getNextIndexed(identity, _firstch(identity),
expandedTypeID);
return makeNodeHandle(firstMatch);
}
else
{
// %REVIEW% Dead code. Eliminate?
for (int current = _firstch(makeNodeIdentity(context));
DTM.NULL != current;
current = _nextsib(current))
{
if (m_exptype.elementAt(current) == expandedTypeID)
return makeNodeHandle(current);
}
return NULL;
}
} |
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 expandedTypeID The expanded type ID that must match.
@return the first node in the traversal.
| ChildTraverser::first | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
protected final boolean isIndexed(int expandedTypeID)
{
return (m_indexing
&& ExpandedNameTable.ELEMENT
== m_expandedNameTable.getType(expandedTypeID));
} |
Tell if the indexing is on and the given expanded type ID matches
what is in the indexes. Derived classes should call this before
calling {@link #getNextIndexed(int, int, int) getNextIndexed} method.
@param expandedTypeID The expanded type ID being requested.
@return true if it is OK to call the
{@link #getNextIndexed(int, int, int) getNextIndexed} method.
| IndexedDTMAxisTraverser::isIndexed | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
protected int getFirstPotential(int identity)
{
return identity + 1;
} |
Get the first potential identity that can be returned. This should
be overridded by classes that need to return the self node.
@param identity The node identity of the root context of the traversal.
@return The first potential node that can be in the traversal.
| DescendantTraverser::getFirstPotential | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
protected boolean axisHasBeenProcessed(int axisRoot)
{
return !(m_nextsib.elementAt(axisRoot) == NOTPROCESSED);
} |
Tell if the axis has been fully processed to tell if a the wait for
an arriving node should terminate.
@param axisRoot The root identity of the axis.
@return true if the axis has been fully processed.
| DescendantTraverser::axisHasBeenProcessed | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
protected int getSubtreeRoot(int handle)
{
return makeNodeIdentity(handle);
} |
Get the subtree root identity from the handle that was passed in by
the caller. Derived classes may override this to change the root
context of the traversal.
@param handle handle to the root context.
@return identity of the root of the subtree.
| DescendantTraverser::getSubtreeRoot | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
protected boolean isDescendant(int subtreeRootIdentity, int identity)
{
return _parent(identity) >= subtreeRootIdentity;
} |
Tell if this node identity is a descendant. Assumes that
the node info for the element has already been obtained.
%REVIEW% This is really parentFollowsRootInDocumentOrder ...
which fails if the parent starts after the root ends.
May be sufficient for this class's logic, but misleadingly named!
@param subtreeRootIdentity The root context of the subtree in question.
@param identity The index number of the node in question.
@return true if the index is a descendant of _startNode.
| DescendantTraverser::isDescendant | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
protected boolean isAfterAxis(int axisRoot, int identity)
{
// %REVIEW% Is there *any* cheaper way to do this?
// Yes. In ID space, compare to axisRoot's successor
// (next-sib or ancestor's-next-sib). Probably shallower search.
do
{
if(identity == axisRoot)
return false;
identity = m_parent.elementAt(identity);
}
while(identity >= axisRoot);
return true;
} |
Tell if a node is outside the axis being traversed. This method must be
implemented by derived classes, and must be robust enough to handle any
node that occurs after the axis root.
@param axisRoot The root identity of the axis.
@param identity The node in question.
@return true if the given node falls outside the axis being traversed.
| DescendantTraverser::isAfterAxis | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
protected int getFirstPotential(int identity)
{
return identity;
} |
Get the first potential identity that can be returned, which is the
axis context, in this case.
@param identity The node identity of the root context of the traversal.
@return The axis context.
| DescendantOrSelfTraverser::getFirstPotential | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int first(int context)
{
// Compute in ID space
context=makeNodeIdentity(context);
int first;
int type = _type(context);
if ((DTM.ATTRIBUTE_NODE == type) || (DTM.NAMESPACE_NODE == type))
{
context = _parent(context);
first = _firstch(context);
if (NULL != first)
return makeNodeHandle(first);
}
do
{
first = _nextsib(context);
if (NULL == first)
context = _parent(context);
}
while (NULL == first && NULL != context);
return makeNodeHandle(first);
} |
Get the first of the following.
@param context The context node of this traversal. This is the point
that the traversal starts from.
@return the first node in the traversal.
| FollowingTraverser::first | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int first(int context, int expandedTypeID)
{
// %REVIEW% This looks like it might want shift into identity space
// to avoid repeated conversion in the individual functions
int first;
int type = getNodeType(context);
if ((DTM.ATTRIBUTE_NODE == type) || (DTM.NAMESPACE_NODE == type))
{
context = getParent(context);
first = getFirstChild(context);
if (NULL != first)
{
if (getExpandedTypeID(first) == expandedTypeID)
return first;
else
return next(context, first, expandedTypeID);
}
}
do
{
first = getNextSibling(context);
if (NULL == first)
context = getParent(context);
else
{
if (getExpandedTypeID(first) == expandedTypeID)
return first;
else
return next(context, first, expandedTypeID);
}
}
while (NULL == first && NULL != context);
return first;
} |
Get the first of the following.
@param context The context node of this traversal. This is the point
of origin for the traversal -- its "root node" or starting point.
@param expandedTypeID The expanded type ID that must match.
@return the first node in the traversal.
| FollowingTraverser::first | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
protected boolean isAncestor(int contextIdent, int currentIdent)
{
// %REVIEW% See comments in IsAfterAxis; using the "successor" of
// contextIdent is probably more efficient.
for (contextIdent = m_parent.elementAt(contextIdent); DTM.NULL != contextIdent;
contextIdent = m_parent.elementAt(contextIdent))
{
if (contextIdent == currentIdent)
return true;
}
return false;
} |
Tell if the current identity is an ancestor of the context identity.
This is an expensive operation, made worse by the stateless traversal.
But the preceding axis is used fairly infrequently.
@param contextIdent The context node of the axis traversal.
@param currentIdent The node in question.
@return true if the currentIdent node is an ancestor of contextIdent.
| PrecedingTraverser::isAncestor | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int next(int context, int current)
{
return NULL;
} |
Traverse to the next node after the current node.
@param context The context node of this iteration.
@param current The current node of the iteration.
@return Always return NULL for this axis.
| SelfTraverser::next | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int first(int context)
{
return getDocumentRoot(context);
} |
Return the root.
@param context The context node of this traversal.
@return the first node in the traversal.
| AllFromRootTraverser::first | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int first(int context, int expandedTypeID)
{
return (getExpandedTypeID(getDocumentRoot(context)) == expandedTypeID)
? context : next(context, context, expandedTypeID);
} |
Return the root if it matches the expanded type ID.
@param context The context node of this traversal.
@param expandedTypeID The expanded type ID that must match.
@return the first node in the traversal.
| AllFromRootTraverser::first | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public int first(int context, int expandedTypeID)
{
int root=getDocumentRoot(context);
return (getExpandedTypeID(root) == expandedTypeID)
? root : NULL;
} |
Return the root if it matches the expanded type ID,
else return null (nothing found)
@param context The context node of this traversal.
@param expandedTypeID The expanded type ID that must match.
@return the first node in the traversal.
| RootTraverser::first | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
protected int getSubtreeRoot(int handle)
{
// %REVIEW% Shouldn't this always be 0?
return makeNodeIdentity(getDocument());
} |
Get the first potential identity that can be returned.
@param handle handle to the root context.
@return identity of the root of the subtree.
| DescendantOrSelfFromRootTraverser::getSubtreeRoot | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
protected int getFirstPotential(int identity)
{
return _firstch(0);
} |
Get the first potential identity that can be returned, which is the axis
root context in this case.
@param identity The node identity of the root context of the traversal.
@return The identity argument.
| DescendantFromRootTraverser::getFirstPotential | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.java | Apache-2.0 |
public DTMDocumentImpl(DTMManager mgr, int documentNumber,
DTMWSFilter whiteSpaceFilter,
XMLStringFactory xstringfactory){
initDocument(documentNumber); // clear nodes and document handle
m_xsf = xstringfactory;
} |
Construct a DTM.
@param documentNumber the ID number assigned to this document.
It will be shifted up into the high bits and returned as part of
all node ID numbers, so those IDs indicate which document they
came from as well as a location within the document. It is the
DTMManager's responsibility to assign a unique number to each
document.
| DTMDocumentImpl::DTMDocumentImpl | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
public void setIncrementalSAXSource(IncrementalSAXSource source)
{
m_incrSAXSource=source;
// Establish SAX-stream link so we can receive the requested data
source.setContentHandler(this);
source.setLexicalHandler(this);
// Are the following really needed? IncrementalSAXSource doesn't yet
// support them, and they're mostly no-ops here...
//source.setErrorHandler(this);
//source.setDTDHandler(this);
//source.setDeclHandler(this);
} | Bind a IncrementalSAXSource to this DTM. If we discover we need nodes
that have not yet been built, we will ask this object to send us more
events, and it will manage interactions with its data sources.
Note that we do not actually build the IncrementalSAXSource, since we don't
know what source it's reading from, what thread that source will run in,
or when it will run.
@param source The IncrementalSAXSource that we want to recieve events from
on demand.
| DTMDocumentImpl::setIncrementalSAXSource | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
private final int appendNode(int w0, int w1, int w2, int w3)
{
// A decent compiler may inline this.
int slotnumber = nodes.appendSlot(w0, w1, w2, w3);
if (DEBUG) System.out.println(slotnumber+": "+w0+" "+w1+" "+w2+" "+w3);
if (previousSiblingWasParent)
nodes.writeEntry(previousSibling,2,slotnumber);
previousSiblingWasParent = false; // Set the default; endElement overrides
return slotnumber;
} |
Wrapper for ChunkedIntArray.append, to automatically update the
previous sibling's "next" reference (if necessary) and periodically
wake a reader who may have encountered incomplete data and entered
a wait state.
@param w0 int As in ChunkedIntArray.append
@param w1 int As in ChunkedIntArray.append
@param w2 int As in ChunkedIntArray.append
@param w3 int As in ChunkedIntArray.append
@return int As in ChunkedIntArray.append
@see ChunkedIntArray.append
| DTMDocumentImpl::appendNode | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
public void setFeature(String featureId, boolean state) {}; |
Set an implementation dependent feature.
<p>
%REVIEW% Do we really expect to set features on DTMs?
@param featureId A feature URL.
@param state true if this feature should be on, false otherwise.
| DTMDocumentImpl::setFeature | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
public void setLocalNameTable(DTMStringPool poolRef) {
m_localNames = poolRef;
} |
Set a reference pointer to the element name symbol table.
%REVIEW% Should this really be Public? Changing it while
DTM is in use would be a disaster.
@param poolRef DTMStringPool reference to an instance of table.
| DTMDocumentImpl::setLocalNameTable | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
public DTMStringPool getLocalNameTable() {
return m_localNames;
} |
Get a reference pointer to the element name symbol table.
@return DTMStringPool reference to an instance of table.
| DTMDocumentImpl::getLocalNameTable | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
public void setNsNameTable(DTMStringPool poolRef) {
m_nsNames = poolRef;
} |
Set a reference pointer to the namespace URI symbol table.
%REVIEW% Should this really be Public? Changing it while
DTM is in use would be a disaster.
@param poolRef DTMStringPool reference to an instance of table.
| DTMDocumentImpl::setNsNameTable | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
public DTMStringPool getNsNameTable() {
return m_nsNames;
} |
Get a reference pointer to the namespace URI symbol table.
@return DTMStringPool reference to an instance of table.
| DTMDocumentImpl::getNsNameTable | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
public void setPrefixNameTable(DTMStringPool poolRef) {
m_prefixNames = poolRef;
} |
Set a reference pointer to the prefix name symbol table.
%REVIEW% Should this really be Public? Changing it while
DTM is in use would be a disaster.
@param poolRef DTMStringPool reference to an instance of table.
| DTMDocumentImpl::setPrefixNameTable | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
public DTMStringPool getPrefixNameTable() {
return m_prefixNames;
} |
Get a reference pointer to the prefix name symbol table.
@return DTMStringPool reference to an instance of table.
| DTMDocumentImpl::getPrefixNameTable | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
void setContentBuffer(FastStringBuffer buffer) {
m_char = buffer;
} |
Set a reference pointer to the content-text repository
@param buffer FastStringBuffer reference to an instance of
buffer
| DTMDocumentImpl::setContentBuffer | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
FastStringBuffer getContentBuffer() {
return m_char;
} |
Get a reference pointer to the content-text repository
@return FastStringBuffer reference to an instance of buffer
| DTMDocumentImpl::getContentBuffer | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
public org.xml.sax.ContentHandler getContentHandler()
{
if (m_incrSAXSource instanceof IncrementalSAXSource_Filter)
return (ContentHandler) m_incrSAXSource;
else
return this;
} | getContentHandler returns "our SAX builder" -- the thing that
someone else should send SAX events to in order to extend this
DTM model.
@return null if this model doesn't respond to SAX events,
"this" if the DTM object has a built-in SAX ContentHandler,
the IncrementalSAXSource if we're bound to one and should receive
the SAX stream via it for incremental build purposes...
* | DTMDocumentImpl::getContentHandler | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
final void initDocument(int documentNumber)
{
// save masked DTM document handle
m_docHandle = documentNumber<<DOCHANDLE_SHIFT;
// Initialize the doc -- no parent, no next-sib
nodes.writeSlot(0,DOCUMENT_NODE,-1,-1,0);
// wait for the first startElement to create the doc root node
done = false;
} |
Reset a dtm document to its initial (empty) state.
The DTMManager will invoke this method when the dtm is created.
@param documentNumber the handle for the DTM document.
| DTMDocumentImpl::initDocument | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
public boolean hasChildNodes(int nodeHandle) {
return(getFirstChild(nodeHandle) != NULL);
} | Given a node handle, test if it has child nodes.
<p> %REVIEW% This is obviously useful at the DOM layer, where it
would permit testing this without having to create a proxy
node. It's less useful in the DTM API, where
(dtm.getFirstChild(nodeHandle)!=DTM.NULL) is just as fast and
almost as self-evident. But it's a convenience, and eases porting
of DOM code to DTM. </p>
@param nodeHandle int Handle of the node.
@return int true if the given node has child nodes.
| DTMDocumentImpl::hasChildNodes | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
public int getFirstChild(int nodeHandle) {
// ###shs worry about tracing/debug later
nodeHandle &= NODEHANDLE_MASK;
// Read node into variable
nodes.readSlot(nodeHandle, gotslot);
// type is the last half of first slot
short type = (short) (gotslot[0] & 0xFFFF);
// Check to see if Element or Document node
if ((type == ELEMENT_NODE) || (type == DOCUMENT_NODE) ||
(type == ENTITY_REFERENCE_NODE)) {
// In case when Document root is given
// if (nodeHandle == 0) nodeHandle = 1;
// %TBD% Probably was a mistake.
// If someone explicitly asks for first child
// of Document, I would expect them to want
// that and only that.
int kid = nodeHandle + 1;
nodes.readSlot(kid, gotslot);
while (ATTRIBUTE_NODE == (gotslot[0] & 0xFFFF)) {
// points to next sibling
kid = gotslot[2];
// Return NULL if node has only attributes
if (kid == NULL) return NULL;
nodes.readSlot(kid, gotslot);
}
// If parent slot matches given parent, return kid
if (gotslot[1] == nodeHandle)
{
int firstChild = kid | m_docHandle;
return firstChild;
}
}
// No child found
return NULL;
} |
Given a node handle, get the handle of the node's first child.
If not yet resolved, waits for more nodes to be added to the document and
tries again.
@param nodeHandle int Handle of the node.
@return int DTM node-number of first child, or DTM.NULL to indicate none exists.
| DTMDocumentImpl::getFirstChild | java | google/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | https://github.com/google/j2objc/blob/master/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/DTMDocumentImpl.java | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.