Package com.evolveum.midpoint.common
Class Utils
java.lang.Object
com.evolveum.midpoint.common.Utils
- Author:
- Igor Farinic, Radovan Semancik
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringcleanupUtf(String bad) Removing non-printable UTF characters from the string.static StringgetPropertyName(String name) static booleanstatic booleanisValidXmlCodepoint(int cp) According to XML specification, section 2.2: http://www.w3.org/TR/REC-xml/
- 
Constructor Details- 
Utilspublic Utils()
 
- 
- 
Method Details- 
getPropertyName
- 
cleanupUtfRemoving non-printable UTF characters from the string.This is not really used now. It was done as a kind of prototype for filters. But may come handy and it in fact tests that the pattern is doing what expected, so it may be useful. - Parameters:
- bad- string with bad chars
- Returns:
- string without bad chars
 
- 
isValidXmlCodepointpublic static boolean isValidXmlCodepoint(int cp) According to XML specification, section 2.2: http://www.w3.org/TR/REC-xml/
- 
isPrismObjectOidValid
 
-