Class ItemPathSerialization
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.marshaller.ItemPathSerialization
-
public final class ItemPathSerialization extends Object
Holds internal (parsed) form of midPoint-style XPath-like expressions. It is able to retrieve/export these expressions from/to various forms (text, text in XML document, XPathSegment list, prism path specification).Assumes relative XPath, but somehow can also work with absolute XPaths.
NOT to be used outside prism module (except for XPathTest in schema - but this is also to be resolved).
- Author:
- semancik, mederly
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismNamespaceContext
context()
String
getXpath()
String
getXPathWithAllDeclarations()
String
getXPathWithLocalDeclarations()
String
getXPathWithoutDeclarations()
static ItemPathSerialization
serialize(@NotNull UniformItemPath itemPath, PrismNamespaceContext context)
static ItemPathSerialization
serialize(@NotNull UniformItemPath itemPath, PrismNamespaceContext context, boolean overrideNs)
String
toString()
Map<String,String>
undeclaredPrefixes()
Map<String,String>
usedPrefixes()
-
-
-
Method Detail
-
context
public PrismNamespaceContext context()
-
getXpath
public String getXpath()
-
getXPathWithoutDeclarations
public String getXPathWithoutDeclarations()
-
getXPathWithLocalDeclarations
public String getXPathWithLocalDeclarations()
-
getXPathWithAllDeclarations
public String getXPathWithAllDeclarations()
-
serialize
public static ItemPathSerialization serialize(@NotNull @NotNull UniformItemPath itemPath, PrismNamespaceContext context)
-
serialize
public static ItemPathSerialization serialize(@NotNull @NotNull UniformItemPath itemPath, PrismNamespaceContext context, boolean overrideNs)
-
-