IRI iri = iriFactory.create(iriStr) ;
System.out.println(iriStr + " ==> "+iri) ;
if ( iri.isRelative() )
System.out.println("Relative: "+iri.isRelative()) ;
Iterator<Violation> vIter = iri.violations(true) ;
for ( ; vIter.hasNext() ; )
{
System.out.println(vIter.next().getShortMessage()) ;
}
}