public class ISO9075
extends java.lang.Object
c
is not valid at a certain position in an XML 1.0
NCName it is encoded in the form: '_x' + hexValueOf(c) + '_'
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
decode(java.lang.String name)
Decodes the
name . |
static java.lang.String |
encode(java.lang.String name)
Encodes
name as specified in ISO 9075. |
static java.lang.String |
encodePath(java.lang.String path)
Encodes
path as specified in ISO 9075. |
public static java.lang.String encode(java.lang.String name)
name
as specified in ISO 9075.name
- the String
to encode.String
or name
if it does
not need encoding.public static java.lang.String encodePath(java.lang.String path)
path
as specified in ISO 9075. Please note that
the character '[
' is not encoded but rather interpreted as
the start of an index in a path segment.path
- the String
to encode.String
.public static java.lang.String decode(java.lang.String name)
name
.name
- the String
to decode.String
.Copyright © 2010 - 2020 Adobe. All Rights Reserved