Constructor and Description |
---|
XMPPathParser() |
Modifier and Type | Method and Description |
---|---|
static XMPPath |
parse(String path,
Map<String,String> prefixContract)
Creates an
XMPPath object by parsing an XMP path String and creates one path segment
for each detected segment in the path. |
public static XMPPath parse(String path, Map<String,String> prefixContract) throws XMPPathParserException
XMPPath
object by parsing an XMP path String and creates one path segment
for each detected segment in the path.path
- Path string to parseprefixContract
- A Map that contains the mapping between Namespaces and their prefixes.
This must be provided to interpret the path correctly.XMPPathParserException
- If the path has an invalid format or a prefix is found that is not defined in the prefixContractIllegalArgumentException
- If path or prefixContract is null.Copyright © 2010 - 2020 Adobe. All Rights Reserved