com.evolveum.midpoint.prism.util
Class PrismUtil
java.lang.Object
com.evolveum.midpoint.prism.util.PrismUtil
public class PrismUtil
- extends Object
- Author:
- semancik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrismUtil
public PrismUtil()
fortifyNamespaceDeclarations
public static void fortifyNamespaceDeclarations(Element definitionElement)
- Super-mega-giga-ultra hack. This is used to "fortify" XML namespace declaration in a non-standard way.
It is useful in case that someone will try some stupid kind of schema-less XML normalization that removes
"unused" XML namespace declaration. The declarations are usually used, but they are used inside QName values
that the dumb normalization cannot see. Therefore this fortification places XML namespace declaration in
a explicit XML elements. That can be reconstructed later by using unfortification method below.
unfortifyNamespaceDeclarations
public static void unfortifyNamespaceDeclarations(Element definitionElement)
isEmpty
public static boolean isEmpty(PolyStringType value)
Copyright © 2013 evolveum. All Rights Reserved.