public class XMPPathParser
extends java.lang.Object
XMPPath
object.Constructor and Description |
---|
XMPPathParser() |
Modifier and Type | Method and Description |
---|---|
static XMPPath |
parse(java.lang.String path,
java.util.Map<java.lang.String,java.lang.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(java.lang.String path, java.util.Map<java.lang.String,java.lang.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 prefixContractjava.lang.IllegalArgumentException
- If path or prefixContract is null."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"