public static void assertSchemaNS(String schemaNS) throws XMPException {
  if (schemaNS == null || schemaNS.length() == 0) {
    throw new XMPException("Empty schema namespace URI",XMPError.BADPARAM);
  }
}

public static void assertSchemaNS ( String schemaNS ) throws XMPException { if ( schemaNS == null || schemaNS . length ( ) == 0 ) { throw new XMPException ( "Empty schema namespace URI" , XMPError . BADPARAM ) ; } }
asserts that a schema namespace is set .
