private boolean isNonspace ( String str , char ch ) throws RepositoryException { if ( ch == ' ' ) { throw new RepositoryException ( "Illegal absPath: \"" + str + "\": The path entry contains an illegal char: \"" + ch + "\"" ) ; } return ! ( ( ch == ' ' ) || ( ch == ' ' ) || ( ch == ' ' ) || ( ch == ' ' ) || ( ch == ' ' ) || ( ch == ' ' ) || ( ch == ' ' ) || ( ch == ' ' ) || ( ch == ' ' ) || ( ch == ' ' ) ) ; }
Some functions for JCRPath Validation