静态decode静态encode静态getThe object containing the attribute.
The name of the attribute.
可选defValue: booleanThe default value if the attribute is not found.
If the attribute is a valid Boolean values, return the parsed Boolean values; otherwise, return the default value.
静态getThe object containing the attribute.
The name of the attribute.
可选defValue: numberThe default value if the attribute is not found.
If the attribute is a valid floating-point number, return the parsed floating-point number; otherwise, return the default value.
静态getThe object containing the attribute.
The name of the attribute.
可选defValue: numberThe default value if the attribute is not found.
If the attribute is a valid integer, return the parsed integer value; otherwise, return the default value.
静态getThe object that contains the attribute.
The name of the attribute to retrieve.
可选defValue: stringThe default value if the attribute is not found or is null.
The retrieved attribute value, or the default if the attribute is not present.
En
Utility class for XML operations.
Zh
XML操作的工具类。