Class ItemPathHolder
java.lang.Object
com.evolveum.midpoint.prism.impl.marshaller.ItemPathHolder
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
- 
Method SummaryModifier and TypeMethodDescriptionstatic ItemPathHoldercreateForTesting(String xpath) static ItemPathHoldercreateForTesting(String xpath, Map<String, String> namespaceMap) static ItemPathHoldercreateForTesting(Element element) booleaninthashCode()booleanisEmpty()static UniformItemPathparseFromString(String path, Map<String, String> namespaces) static StringserializeWithDeclarations(@NotNull ItemPath itemPath) static StringserializeWithForcedDeclarations(@NotNull ItemPath itemPath) toString()
- 
Method Details- 
parseFromString
- 
serializeWithDeclarations
- 
serializeWithForcedDeclarations
- 
getXPathWithoutDeclarations
- 
getXPathWithDeclarations
- 
getNamespaceMap
- 
toSegments
- 
isEmptypublic boolean isEmpty()
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
- 
createForTesting
- 
createForTesting
- 
createForTesting
 
-